summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>2014-07-17 23:50:07 +0000
committerderaadt <>2014-07-17 23:50:07 +0000
commiteb33ac700a48895a01fed57fc9e3c0ef20f9824e (patch)
treeb09bf555d1defa1979459e1b55976f0ee7183890 /src
parentbc38918ebd1fef9905f54dfd5b03454cd1e099f3 (diff)
downloadopenbsd-eb33ac700a48895a01fed57fc9e3c0ef20f9824e.tar.gz
openbsd-eb33ac700a48895a01fed57fc9e3c0ef20f9824e.tar.bz2
openbsd-eb33ac700a48895a01fed57fc9e3c0ef20f9824e.zip
avoid errx(); Jonas Termansen
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/src/apps/openssl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libssl/src/apps/openssl.c b/src/lib/libssl/src/apps/openssl.c
index ae45d15933..5ac41e2035 100644
--- a/src/lib/libssl/src/apps/openssl.c
+++ b/src/lib/libssl/src/apps/openssl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: openssl.c,v 1.41 2014/07/12 19:31:21 jsing Exp $ */ 1/* $OpenBSD: openssl.c,v 1.42 2014/07/17 23:50:07 deraadt Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -256,8 +256,10 @@ main(int argc, char **argv)
256 arg.count = 0; 256 arg.count = 0;
257 257
258 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 258 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
259 if (bio_err == NULL) 259 if (bio_err == NULL) {
260 errx(1, "failed to initialise bio_err"); 260 fprintf(stderr, "openssl: failed to initialise bio_err");
261 exit(1);
262 }
261 263
262 CRYPTO_set_locking_callback(lock_dbg_cb); 264 CRYPTO_set_locking_callback(lock_dbg_cb);
263 265