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/spkac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/spkac.c') diff --git a/src/usr.bin/openssl/spkac.c b/src/usr.bin/openssl/spkac.c index 266ed57662..219b98d2ed 100644 --- a/src/usr.bin/openssl/spkac.c +++ b/src/usr.bin/openssl/spkac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spkac.c,v 1.1 2014/08/26 17:47:25 jsing Exp $ */ +/* $OpenBSD: spkac.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. Based on an original idea by Massimiliano Pala * (madwolf@openca.org). @@ -167,7 +167,7 @@ bad: #endif goto end; } - 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