summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/src/apps/apps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/src/apps/apps.c b/src/lib/libssl/src/apps/apps.c
index 051f6f80a6..f9e845246f 100644
--- a/src/lib/libssl/src/apps/apps.c
+++ b/src/lib/libssl/src/apps/apps.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: apps.c,v 1.67 2014/07/14 00:35:10 deraadt Exp $ */ 1/* $OpenBSD: apps.c,v 1.68 2014/07/19 03:40:26 lteo 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 *
@@ -493,7 +493,7 @@ app_get_pass(BIO *err, char *arg, int keepbio)
493 } 493 }
494 } else if (!strncmp(arg, "fd:", 3)) { 494 } else if (!strncmp(arg, "fd:", 3)) {
495 BIO *btmp; 495 BIO *btmp;
496 i = strtonum(arg + 3, 1, INT_MAX, &errstr); 496 i = strtonum(arg + 3, 0, INT_MAX, &errstr);
497 if (errstr) { 497 if (errstr) {
498 BIO_printf(err, 498 BIO_printf(err,
499 "Invalid file descriptor %s: %s\n", 499 "Invalid file descriptor %s: %s\n",