The branch OpenSSL_1_1_0-stable has been updated
via ddc311f1d345d07d8657b4538ca32cba864e7461 (commit)
from 88a3b5322170444d8d4003f6d8af82c3976c570b (commit)
- Log -----------------------------------------------------------------
commit ddc311f1d345d07d8657b4538ca32cba864e7461
Author: lrns <[email protected]>
Date: Thu Feb 16 12:27:55 2017 +0100
Change req_check_len error message
it also accepts 20 bytes, but states 'less than' in the error message
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/2648)
(cherry picked from commit 0cb8c9d85e9d5690670d6f1f02e8ccc756520210)
-----------------------------------------------------------------------
Summary of changes:
apps/req.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/req.c b/apps/req.c
index e8951ae..a1cbfe2 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -1273,7 +1273,7 @@ static int req_check_len(int len, int n_min, int n_max)
}
if ((n_max >= 0) && (len > n_max)) {
BIO_printf(bio_err,
- "string is too long, it needs to be less than %d bytes
long\n",
+ "string is too long, it needs to be no more than %d bytes
long\n",
n_max);
return (0);
}
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits