Zero the premaster secret after deriving the master secret in DH
[openssl.git] / ssl / ssl_task.c
index b971a270d42941f2c636282fc74292793c7fdb8d..cac701a798b40160e6c576579ee40bbc5e781882 100644 (file)
@@ -123,6 +123,9 @@ int LIB$INIT_TIMER(), LIB$SHOW_TIMER();
 
 #include <string.h>            /* from ssltest.c */
 #include <errno.h>
+
+#include "openssl/e_os.h"
+
 #include <openssl/buffer.h>
 #include <openssl/x509.h>
 #include <openssl/ssl.h>
@@ -223,7 +226,7 @@ int main ( int argc, char **argv )
        printf("cipher list: %s\n", cipher ? cipher : "{undefined}" );
 
        SSL_load_error_strings();
-       SSLeay_add_all_algorithms();
+       OpenSSL_add_all_algorithms();
 
 /* DRM, this was the original, but there is no such thing as SSLv2()
        s_ctx=SSL_CTX_new(SSLv2());