summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:25:49 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:25:49 +0000
commita056df44fb3aa2746550522ad58825426312a3b4 (patch)
treeb558dd550e9ce67c8ba64c8e905cdad3e6d2b6e8 /usr.bin
parent215dfd10aab48eb3b3518ad740ba8469cc060077 (diff)
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 'usr.bin')
-rw-r--r--usr.bin/openssl/genpkey.c3
-rw-r--r--usr.bin/openssl/pkcs8.c3
-rw-r--r--usr.bin/openssl/pkey.c3
-rw-r--r--usr.bin/openssl/pkeyparam.c3
-rw-r--r--usr.bin/openssl/pkeyutl.c4
-rw-r--r--usr.bin/openssl/rsautl.c3
6 files changed, 6 insertions, 13 deletions
diff --git a/usr.bin/openssl/genpkey.c b/usr.bin/openssl/genpkey.c
index 09b130e83a6..882d0ba13dc 100644
--- a/usr.bin/openssl/genpkey.c
+++ b/usr.bin/openssl/genpkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: genpkey.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
+/* $OpenBSD: genpkey.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
@@ -97,7 +97,6 @@ genpkey_main(int argc, char **argv)
outformat = FORMAT_PEM;
- OpenSSL_add_all_algorithms();
args = argv + 1;
while (!badarg && *args && *args[0] == '-') {
if (!strcmp(*args, "-outform")) {
diff --git a/usr.bin/openssl/pkcs8.c b/usr.bin/openssl/pkcs8.c
index c2aefdc1525..25ffb363eef 100644
--- a/usr.bin/openssl/pkcs8.c
+++ b/usr.bin/openssl/pkcs8.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pkcs8.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
+/* $OpenBSD: pkcs8.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999-2004.
*/
@@ -95,7 +95,6 @@ pkcs8_main(int argc, char **argv)
informat = FORMAT_PEM;
outformat = FORMAT_PEM;
- OpenSSL_add_all_algorithms();
args = argv + 1;
while (!badarg && *args && *args[0] == '-') {
if (!strcmp(*args, "-v2")) {
diff --git a/usr.bin/openssl/pkey.c b/usr.bin/openssl/pkey.c
index 4fbc7223298..3c4013e7c15 100644
--- a/usr.bin/openssl/pkey.c
+++ b/usr.bin/openssl/pkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pkey.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
+/* $OpenBSD: pkey.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
@@ -88,7 +88,6 @@ pkey_main(int argc, char **argv)
informat = FORMAT_PEM;
outformat = FORMAT_PEM;
- OpenSSL_add_all_algorithms();
args = argv + 1;
while (!badarg && *args && *args[0] == '-') {
if (!strcmp(*args, "-inform")) {
diff --git a/usr.bin/openssl/pkeyparam.c b/usr.bin/openssl/pkeyparam.c
index 1e60430b26d..d9e4085e254 100644
--- a/usr.bin/openssl/pkeyparam.c
+++ b/usr.bin/openssl/pkeyparam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pkeyparam.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
+/* $OpenBSD: pkeyparam.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
@@ -80,7 +80,6 @@ pkeyparam_main(int argc, char **argv)
#endif
int ret = 1;
- OpenSSL_add_all_algorithms();
args = argv + 1;
while (!badarg && *args && *args[0] == '-') {
if (!strcmp(*args, "-in")) {
diff --git a/usr.bin/openssl/pkeyutl.c b/usr.bin/openssl/pkeyutl.c
index f233d76ddac..f1658dd6aa2 100644
--- a/usr.bin/openssl/pkeyutl.c
+++ b/usr.bin/openssl/pkeyutl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pkeyutl.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
+/* $OpenBSD: pkeyutl.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
@@ -106,8 +106,6 @@ pkeyutl_main(int argc, char **argv)
argc--;
argv++;
- OpenSSL_add_all_algorithms();
-
while (argc >= 1) {
if (!strcmp(*argv, "-in")) {
if (--argc < 1)
diff --git a/usr.bin/openssl/rsautl.c b/usr.bin/openssl/rsautl.c
index 322403064d1..95776d250be 100644
--- a/usr.bin/openssl/rsautl.c
+++ b/usr.bin/openssl/rsautl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsautl.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
+/* $OpenBSD: rsautl.c,v 1.3 2014/08/28 14:25:48 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -107,7 +107,6 @@ rsautl_main(int argc, char **argv)
argc--;
argv++;
- OpenSSL_add_all_algorithms();
pad = RSA_PKCS1_PADDING;
while (argc >= 1) {