diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2004-01-13 07:31:25 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2004-01-13 07:31:25 +0000 |
commit | e765df08b2c8868d4bda6ef660b209c560e4eded (patch) | |
tree | c50c23f9d6d6697a55fddecc67baba1522567d88 /socket.c | |
parent | 798868f26c1bd20798f4ffc1a011bed9d063de99 (diff) | |
download | fetchmail-e765df08b2c8868d4bda6ef660b209c560e4eded.tar.gz fetchmail-e765df08b2c8868d4bda6ef660b209c560e4eded.tar.bz2 fetchmail-e765df08b2c8868d4bda6ef660b209c560e4eded.zip |
Sunil Shetye's fix for SSL configuration.
svn path=/trunk/; revision=3875
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -200,7 +200,6 @@ static int handle_plugin(const char *host, #endif /* HAVE_SOCKETPAIR */ #ifdef __UNUSED__ -#include <sys/time.h> int SockCheckOpen(int fd) /* poll given socket; is it selectable? */ @@ -502,10 +501,11 @@ va_dcl { } #ifdef SSL_ENABLE -#include "openssl/ssl.h" -#include "openssl/err.h" -#include "openssl/pem.h" -#include "openssl/x509.h" +#include <openssl/ssl.h> +#include <openssl/err.h> +#include <openssl/pem.h> +#include <openssl/x509.h> +#include <openssl/rand.h> static SSL_CTX *_ctx = NULL; static SSL *_ssl_context[FD_SETSIZE]; @@ -759,7 +759,7 @@ int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) int err, depth; unsigned char digest[EVP_MAX_MD_SIZE]; char text[EVP_MAX_MD_SIZE * 3 + 1], *tp, *te; - EVP_MD *digest_tp; + const EVP_MD *digest_tp; unsigned int dsz, i, esz; X509_NAME *subj, *issuer; |