summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/ts.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:23:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-08-28 14:23:53 +0000
commit215dfd10aab48eb3b3518ad740ba8469cc060077 (patch)
treeffe83086fd2dc4670e6bfbb0a6f9813ec9c73517 /usr.bin/openssl/ts.c
parent4c4bae99e00961e8d37e98a49174f7a389695caa (diff)
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.
Diffstat (limited to 'usr.bin/openssl/ts.c')
-rw-r--r--usr.bin/openssl/ts.c4
1 files changed, 1 insertions, 3 deletions
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)