Commit d437f37f authored by Patrick Ammann's avatar Patrick Ammann Committed by Alexandre Julliard

wininet: compilation fix

- make netconnection.c compile when HAVE_OPENSSL_SSL_H or HAVE_OPENSSL_ERR_H are not defined.
parent 60884fc3
......@@ -36,6 +36,8 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include "wine/library.h"
#include "windef.h"
......@@ -317,13 +319,13 @@ BOOL NETCON_close(WININET_NETCONNECTION *connection)
}
return TRUE;
}
#if defined HAVE_OPENSSL_SSL_H && defined HAVE_OPENSSL_ERR_H
static BOOL check_hostname(X509 *cert, char *hostname)
{
/* FIXME: implement */
return TRUE;
}
#endif
/******************************************************************************
* NETCON_secure_connect
* Initiates a secure connection over an existing plaintext connection.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment