projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some invalid use of sscanf
[openssl.git]
/
apps
/
errstr.c
diff --git
a/apps/errstr.c
b/apps/errstr.c
index 782705a78a33d27d0139ae7dbaa4fa86b4ad9505..21349d21cb4207436dcfc2db95e193e4e925e0e7 100644
(file)
--- a/
apps/errstr.c
+++ b/
apps/errstr.c
@@
-62,7
+62,7
@@
int errstr_main(int argc, char **argv)
/* All remaining arg are error code. */
ret = 0;
for (argv = opt_rest(); *argv != NULL; argv++) {
- if (sscanf(*argv, "%lx", &l)
=
= 0) {
+ if (sscanf(*argv, "%lx", &l)
<
= 0) {
ret++;
} else {
ERR_error_string_n(l, buf, sizeof(buf));