From 3a2884e89a931573761460cdda84faf509e7ecd3 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 28 Aug 2014 14:23:52 +0000 Subject: 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. --- src/usr.bin/openssl/x509.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/usr.bin/openssl/x509.c') diff --git a/src/usr.bin/openssl/x509.c b/src/usr.bin/openssl/x509.c index afbccc00d6..db3173e74d 100644 --- a/src/usr.bin/openssl/x509.c +++ b/src/usr.bin/openssl/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.1 2014/08/26 17:47:25 jsing Exp $ */ +/* $OpenBSD: x509.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -446,8 +446,6 @@ bad: e = setup_engine(bio_err, engine, 0); #endif - ERR_load_crypto_strings(); - if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) { BIO_printf(bio_err, "Error getting password\n"); goto end; -- cgit v1.2.3-55-g6feb