From: Dr. Stephen Henson Date: Wed, 20 Jan 2010 14:05:56 +0000 (+0000) Subject: Update demo X-Git-Tag: OpenSSL_1_0_0-beta5~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4c95b1bfdadb6cf9dd1beb0680b2acd5f44a9730;p=oweals%2Fopenssl.git Update demo --- diff --git a/demos/pkcs12/pkread.c b/demos/pkcs12/pkread.c index bc193600bf..fa8f509237 100644 --- a/demos/pkcs12/pkread.c +++ b/demos/pkcs12/pkread.c @@ -20,8 +20,7 @@ int main(int argc, char **argv) fprintf(stderr, "Usage: pkread p12file password opfile\n"); exit (1); } - /*SSLeay_add_all_algorithms();*/ - SSL_library_init(); + OpenSSL_add_all_algorithms(); ERR_load_crypto_strings(); if (!(fp = fopen(argv[1], "rb"))) { fprintf(stderr, "Error opening file %s\n", argv[1]);