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/genrsa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/genrsa.c') diff --git a/src/usr.bin/openssl/genrsa.c b/src/usr.bin/openssl/genrsa.c index 7844fb815f..b7534a0a5e 100644 --- a/src/usr.bin/openssl/genrsa.c +++ b/src/usr.bin/openssl/genrsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: genrsa.c,v 1.1 2014/08/26 17:47:24 jsing Exp $ */ +/* $OpenBSD: genrsa.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -198,7 +198,6 @@ bad: #endif goto err; } - ERR_load_crypto_strings(); if (!app_passwd(bio_err, NULL, passargout, NULL, &passout)) { BIO_printf(bio_err, "Error getting password\n"); -- cgit v1.2.3-55-g6feb