]> Pileus Git - ~andy/fetchmail/commitdiff
Use SSL_library_init(), not SSLeay_add_ssl_algorithms().
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 31 Mar 2010 22:27:28 +0000 (00:27 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Wed, 31 Mar 2010 22:27:28 +0000 (00:27 +0200)
socket.c

index 7bedef38d968d1a87db474feef1cef2cbbd48062..901e2e4284f5c3a8d0d0fd6403b6d55e6b5e293d 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -821,7 +821,7 @@ int SSLOpen(int sock, char *mycert, char *mykey, const char *myproto, int certck
         int i;
 
        SSL_load_error_strings();
-       SSLeay_add_ssl_algorithms(); /* synonym for SSL_library_init() */
+       SSL_library_init();
        
 #ifdef SSL_ENABLE
         if (stat("/dev/random", &randstat)  &&