diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2008-04-17 16:15:27 +0200 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2008-04-17 16:15:27 +0200 |
commit | 44a877aa88fefc82a991c76e24620824ff2a3d98 (patch) | |
tree | d42ebfcf3ade024c3898713fd59bd008390bda50 | |
parent | Correctly handle case of bad arguments supplied to rsautl (diff) | |
download | openssl-44a877aa88fefc82a991c76e24620824ff2a3d98.tar.xz openssl-44a877aa88fefc82a991c76e24620824ff2a3d98.zip |
Fix incorrect return value in apps/apps.c:parse_yesno()
PR: 1607
Submitted by: "Christophe Macé" <mace.christophe@gmail.com>
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c index 5b01244845..2a7329fc20 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2030,7 +2030,7 @@ int parse_yesno(const char *str, int def) case 'y': /* yes */ case 'Y': /* YES */ case '1': /* 1 */ - ret = 0; + ret = 1; break; default: ret = def; |