Update demo

This commit is contained in:
Dr. Stephen Henson 2010-01-20 14:05:56 +00:00
parent 9359fc5ff2
commit 4c95b1bfda

View File

@ -20,8 +20,7 @@ int main(int argc, char **argv)
fprintf(stderr, "Usage: pkread p12file password opfile\n"); fprintf(stderr, "Usage: pkread p12file password opfile\n");
exit (1); exit (1);
} }
/*SSLeay_add_all_algorithms();*/ OpenSSL_add_all_algorithms();
SSL_library_init();
ERR_load_crypto_strings(); ERR_load_crypto_strings();
if (!(fp = fopen(argv[1], "rb"))) { if (!(fp = fopen(argv[1], "rb"))) {
fprintf(stderr, "Error opening file %s\n", argv[1]); fprintf(stderr, "Error opening file %s\n", argv[1]);