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/req.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/req.c') diff --git a/src/usr.bin/openssl/req.c b/src/usr.bin/openssl/req.c index 87599b35e1..98f3e1d84c 100644 --- a/src/usr.bin/openssl/req.c +++ b/src/usr.bin/openssl/req.c @@ -1,4 +1,4 @@ -/* $OpenBSD: req.c,v 1.1 2014/08/26 17:47:25 jsing Exp $ */ +/* $OpenBSD: req.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -399,7 +399,7 @@ bad: BIO_printf(bio_err, " -reqopt arg - various request text options\n\n"); goto end; } - ERR_load_crypto_strings(); + if (!app_passwd(bio_err, passargin, passargout, &passin, &passout)) { BIO_printf(bio_err, "Error getting passwords\n"); goto end; -- cgit v1.2.3-55-g6feb