diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/ui/ui_openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ui/ui_openssl.c b/src/lib/libcrypto/ui/ui_openssl.c index f7f01bb4f1..a46534e3e5 100644 --- a/src/lib/libcrypto/ui/ui_openssl.c +++ b/src/lib/libcrypto/ui/ui_openssl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ui_openssl.c,v 1.22 2014/07/11 08:44:49 jsing Exp $ */ | 1 | /* $OpenBSD: ui_openssl.c,v 1.23 2014/07/13 00:10:47 deraadt Exp $ */ |
| 2 | /* Written by Richard Levitte (richard@levitte.org) and others | 2 | /* Written by Richard Levitte (richard@levitte.org) and others |
| 3 | * for the OpenSSL project 2001. | 3 | * for the OpenSSL project 2001. |
| 4 | */ | 4 | */ |
| @@ -267,7 +267,7 @@ read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) | |||
| 267 | goto error; | 267 | goto error; |
| 268 | if (ferror(tty_in)) | 268 | if (ferror(tty_in)) |
| 269 | goto error; | 269 | goto error; |
| 270 | if ((p = (char *) strchr(result, '\n')) != NULL) { | 270 | if ((p = strchr(result, '\n')) != NULL) { |
| 271 | if (strip_nl) | 271 | if (strip_nl) |
| 272 | *p = '\0'; | 272 | *p = '\0'; |
| 273 | } else if (!read_till_nl(tty_in)) | 273 | } else if (!read_till_nl(tty_in)) |
