wininet: compilation fix

- make netconnection.c compile when HAVE_OPENSSL_SSL_H or 
HAVE_OPENSSL_ERR_H are not defined.
This commit is contained in:
Patrick Ammann 2005-12-05 12:01:56 +01:00 committed by Alexandre Julliard
parent 60884fc3b3
commit d437f37f58
1 changed files with 4 additions and 2 deletions

View File

@ -36,6 +36,8 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h>
#include <errno.h>
#include "wine/library.h" #include "wine/library.h"
#include "windef.h" #include "windef.h"
@ -317,13 +319,13 @@ BOOL NETCON_close(WININET_NETCONNECTION *connection)
} }
return TRUE; return TRUE;
} }
#if defined HAVE_OPENSSL_SSL_H && defined HAVE_OPENSSL_ERR_H
static BOOL check_hostname(X509 *cert, char *hostname) static BOOL check_hostname(X509 *cert, char *hostname)
{ {
/* FIXME: implement */ /* FIXME: implement */
return TRUE; return TRUE;
} }
#endif
/****************************************************************************** /******************************************************************************
* NETCON_secure_connect * NETCON_secure_connect
* Initiates a secure connection over an existing plaintext connection. * Initiates a secure connection over an existing plaintext connection.