summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/nseq.c
diff options
context:
space:
mode:
authorjsing <>2014-08-28 14:23:52 +0000
committerjsing <>2014-08-28 14:23:52 +0000
commit96ce0bef63632506cf84a5884df0420e06bb96a7 (patch)
tree5ac74b73de2223699514f57dae53d0bee08b0eb0 /src/usr.bin/openssl/nseq.c
parentf86c8bf20fe81a5ba068a063e50e29c4edddf377 (diff)
downloadopenbsd-96ce0bef63632506cf84a5884df0420e06bb96a7.tar.gz
openbsd-96ce0bef63632506cf84a5884df0420e06bb96a7.tar.bz2
openbsd-96ce0bef63632506cf84a5884df0420e06bb96a7.zip
openssl_setup() calls SSL_load_error_strings(), which happens to call
ERR_load_crypto_strings() - as such, we do not need to call the same function from most of the applications.
Diffstat (limited to '')
-rw-r--r--src/usr.bin/openssl/nseq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/nseq.c b/src/usr.bin/openssl/nseq.c
index 6c32f7c4b4..6bc58185c0 100644
--- a/src/usr.bin/openssl/nseq.c
+++ b/src/usr.bin/openssl/nseq.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: nseq.c,v 1.1 2014/08/26 17:47:24 jsing Exp $ */ 1/* $OpenBSD: nseq.c,v 1.2 2014/08/28 14:23:52 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. 3 * project 1999.
4 */ 4 */
@@ -77,8 +77,6 @@ nseq_main(int argc, char **argv)
77 int i, ret = 1; 77 int i, ret = 1;
78 int badarg = 0; 78 int badarg = 0;
79 79
80 ERR_load_crypto_strings();
81
82 args = argv + 1; 80 args = argv + 1;
83 while (!badarg && *args && *args[0] == '-') { 81 while (!badarg && *args && *args[0] == '-') {
84 if (!strcmp(*args, "-toseq")) 82 if (!strcmp(*args, "-toseq"))