summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/pkcs12/pkread.c3
1 files changed, 1 insertions, 2 deletions
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]);