projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac879ed
)
Change req_check_len error message, it also accepts 20 bytes, but states 'less than...
author
lrns
<laurensnutma@gmail.com>
Thu, 16 Feb 2017 11:27:55 +0000
(12:27 +0100)
committer
Rich Salz
<rsalz@openssl.org>
Thu, 16 Feb 2017 14:18:11 +0000
(09:18 -0500)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2648)
apps/req.c
patch
|
blob
|
history
diff --git
a/apps/req.c
b/apps/req.c
index 00f2a413b637adff1e84213ede07fc4833b49303..766a27ea6b578961cbc09f33c4bd98e4a191e048 100644
(file)
--- 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);
}