]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
demos/pkcs12/pkwrite.c: drop deprecated init calls
authorEugene Syromiatnikov <esyr@openssl.org>
Sat, 27 Jun 2026 11:25:02 +0000 (13:25 +0200)
committerNorbert Pocs <norbertp@openssl.org>
Mon, 20 Jul 2026 11:18:33 +0000 (13:18 +0200)
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Bob Beck <beck@openssl.org>
MergeDate: Mon Jul 20 11:18:54 2026
(Merged from https://github.com/openssl/openssl/pull/31751)

demos/pkcs12/pkwrite.c

index 7bb73f35a41eacf7fbdf33b8c6af7a208773ee99..b274943ce8f76973fd85d3e9d1e0d51ebe6ac05e 100644 (file)
@@ -25,8 +25,6 @@ int main(int argc, char **argv)
         fprintf(stderr, "Usage: pkwrite infile password name p12file\n");
         exit(EXIT_FAILURE);
     }
-    OpenSSL_add_all_algorithms();
-    ERR_load_crypto_strings();
     if ((fp = fopen(argv[1], "r")) == NULL) {
         fprintf(stderr, "Error opening file %s\n", argv[1]);
         exit(EXIT_FAILURE);