summaryrefslogtreecommitdiffstats
path: root/demos/pkcs12/pkread.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/pkcs12/pkread.c')
-rw-r--r--demos/pkcs12/pkread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/pkcs12/pkread.c b/demos/pkcs12/pkread.c
index 02e16cda2a..bc193600bf 100644
--- a/demos/pkcs12/pkread.c
+++ b/demos/pkcs12/pkread.c
@@ -20,7 +20,8 @@ int main(int argc, char **argv)
fprintf(stderr, "Usage: pkread p12file password opfile\n");
exit (1);
}
- SSLeay_add_all_algorithms();
+ /*SSLeay_add_all_algorithms();*/
+ SSL_library_init();
ERR_load_crypto_strings();
if (!(fp = fopen(argv[1], "rb"))) {
fprintf(stderr, "Error opening file %s\n", argv[1]);