diff options
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/apps/apps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/apps/apps.c b/lib/libssl/src/apps/apps.c index 051f6f80a60..f9e845246fb 100644 --- a/lib/libssl/src/apps/apps.c +++ b/lib/libssl/src/apps/apps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apps.c,v 1.67 2014/07/14 00:35:10 deraadt Exp $ */ +/* $OpenBSD: apps.c,v 1.68 2014/07/19 03:40:26 lteo Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -493,7 +493,7 @@ app_get_pass(BIO *err, char *arg, int keepbio) } } else if (!strncmp(arg, "fd:", 3)) { BIO *btmp; - i = strtonum(arg + 3, 1, INT_MAX, &errstr); + i = strtonum(arg + 3, 0, INT_MAX, &errstr); if (errstr) { BIO_printf(err, "Invalid file descriptor %s: %s\n", |