diff options
-rw-r--r-- | src/lib/libcrypto/evp/evp_key.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp_key.c b/src/lib/libcrypto/evp/evp_key.c index 16c002fe67..d6ce373735 100644 --- a/src/lib/libcrypto/evp/evp_key.c +++ b/src/lib/libcrypto/evp/evp_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_key.c,v 1.31 2024/01/05 10:14:08 tb Exp $ */ | 1 | /* $OpenBSD: evp_key.c,v 1.32 2024/01/05 10:15:36 tb 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 | * |
@@ -109,7 +109,7 @@ EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, | |||
109 | if (min < 0 || len - 1 < min) | 109 | if (min < 0 || len - 1 < min) |
110 | goto err; | 110 | goto err; |
111 | 111 | ||
112 | if ((prompt == NULL) && (prompt_string[0] != '\0')) | 112 | if (prompt == NULL && prompt_string[0] != '\0') |
113 | prompt = prompt_string; | 113 | prompt = prompt_string; |
114 | 114 | ||
115 | if ((ui = UI_new()) == NULL) | 115 | if ((ui = UI_new()) == NULL) |
@@ -117,8 +117,8 @@ EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, | |||
117 | if (UI_add_input_string(ui, prompt, 0, buf, min, len - 1) < 0) | 117 | if (UI_add_input_string(ui, prompt, 0, buf, min, len - 1) < 0) |
118 | goto err; | 118 | goto err; |
119 | if (verify) { | 119 | if (verify) { |
120 | if (UI_add_verify_string(ui, prompt, 0, buff, min, len - 1, buf) | 120 | if (UI_add_verify_string(ui, prompt, 0, buff, min, len - 1, |
121 | < 0) | 121 | buf) < 0) |
122 | goto err; | 122 | goto err; |
123 | } | 123 | } |
124 | 124 | ||