From 215dfd10aab48eb3b3518ad740ba8469cc060077 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Thu, 28 Aug 2014 14:23:53 +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. --- usr.bin/openssl/ts.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.bin/openssl/ts.c') diff --git a/usr.bin/openssl/ts.c b/usr.bin/openssl/ts.c index fab79b9ceeb..c765465c452 100644 --- a/usr.bin/openssl/ts.c +++ b/usr.bin/openssl/ts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ts.c,v 1.1 2014/08/26 17:47:25 jsing Exp $ */ +/* $OpenBSD: ts.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL * project 2002. */ @@ -154,8 +154,6 @@ ts_main(int argc, char **argv) /* Output is ContentInfo instead of TimeStampResp. */ int token_out = 0; - ERR_load_crypto_strings(); - for (argc--, argv++; argc > 0; argc--, argv++) { if (strcmp(*argv, "-config") == 0) { if (argc-- < 1) -- cgit v1.2.3