summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/asn1pars.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:23:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:23:53 +0000
commit215dfd10aab48eb3b3518ad740ba8469cc060077 (patch)
treeffe83086fd2dc4670e6bfbb0a6f9813ec9c73517 /usr.bin/openssl/asn1pars.c
parent4c4bae99e00961e8d37e98a49174f7a389695caa (diff)
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 'usr.bin/openssl/asn1pars.c')
-rw-r--r--usr.bin/openssl/asn1pars.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/openssl/asn1pars.c b/usr.bin/openssl/asn1pars.c
index 6ba43afb974..e6d5339f661 100644
--- a/usr.bin/openssl/asn1pars.c
+++ b/usr.bin/openssl/asn1pars.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asn1pars.c,v 1.1 2014/08/26 17:47:24 jsing Exp $ */
+/* $OpenBSD: asn1pars.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -193,7 +193,6 @@ bad:
BIO_printf(bio_err, " -genconf file file to generate ASN1 structure from\n");
goto end;
}
- ERR_load_crypto_strings();
in = BIO_new(BIO_s_file());
out = BIO_new(BIO_s_file());