summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-20 14:05:56 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-20 14:05:56 +0000
commit4c95b1bfdadb6cf9dd1beb0680b2acd5f44a9730 (patch)
tree027eff5d5ad8e49ba27530d3852b7428de205555 /demos
parent9359fc5ff2c10dae70b7d9303e99312a7c4471d9 (diff)
Update demo
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]);