aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorlrns <laurensnutma@gmail.com>2017-02-16 12:27:55 +0100
committerRich Salz <rsalz@openssl.org>2017-02-16 09:18:11 -0500
commit0cb8c9d85e9d5690670d6f1f02e8ccc756520210 (patch)
tree9f2971ba55ee00f75c109ca4922aa0c41c05afb7 /apps
parentac879ed62a19f3c878f7be3020a1b93cc77f4b38 (diff)
downloadopenssl-0cb8c9d85e9d5690670d6f1f02e8ccc756520210.tar.gz
Change req_check_len error message, it also accepts 20 bytes, but states 'less than' in the error message
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2648)
Diffstat (limited to 'apps')
-rw-r--r--apps/req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c
index 00f2a413b6..766a27ea6b 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);
}