diff options
| author | jsing <> | 2014-08-28 14:25:48 +0000 |
|---|---|---|
| committer | jsing <> | 2014-08-28 14:25:48 +0000 |
| commit | 446f781bfd51805a2e8b9591a9a8640f061b9353 (patch) | |
| tree | 4a39860da7a83b722da25beda28a167030b3df00 /src/usr.bin/openssl/pkcs8.c | |
| parent | 96ce0bef63632506cf84a5884df0420e06bb96a7 (diff) | |
| download | openbsd-446f781bfd51805a2e8b9591a9a8640f061b9353.tar.gz openbsd-446f781bfd51805a2e8b9591a9a8640f061b9353.tar.bz2 openbsd-446f781bfd51805a2e8b9591a9a8640f061b9353.zip | |
OpenSSL_add_all_algorithms() is called from openssl_startup() - it does not
need to also be called from some of the applications.
Diffstat (limited to 'src/usr.bin/openssl/pkcs8.c')
| -rw-r--r-- | src/usr.bin/openssl/pkcs8.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/pkcs8.c b/src/usr.bin/openssl/pkcs8.c index c2aefdc152..25ffb363ee 100644 --- a/src/usr.bin/openssl/pkcs8.c +++ b/src/usr.bin/openssl/pkcs8.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkcs8.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ | 1 | /* $OpenBSD: pkcs8.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999-2004. | 3 | * project 1999-2004. |
| 4 | */ | 4 | */ |
| @@ -95,7 +95,6 @@ pkcs8_main(int argc, char **argv) | |||
| 95 | informat = FORMAT_PEM; | 95 | informat = FORMAT_PEM; |
| 96 | outformat = FORMAT_PEM; | 96 | outformat = FORMAT_PEM; |
| 97 | 97 | ||
| 98 | OpenSSL_add_all_algorithms(); | ||
| 99 | args = argv + 1; | 98 | args = argv + 1; |
| 100 | while (!badarg && *args && *args[0] == '-') { | 99 | while (!badarg && *args && *args[0] == '-') { |
| 101 | if (!strcmp(*args, "-v2")) { | 100 | if (!strcmp(*args, "-v2")) { |
