projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rndsort{Miller, Rabin} primality test.
[openssl.git]
/
apps
/
enc.c
diff --git
a/apps/enc.c
b/apps/enc.c
index 842036697c30631611ce8f7aae3fa030e431fd09..d5db3bf0e1907173ebf216fdf24513b77c1fb358 100644
(file)
--- a/
apps/enc.c
+++ b/
apps/enc.c
@@
-448,7
+448,7
@@
bad:
"invalid hex salt value\n");
goto end;
}
- } else if (RAND_pseudo_bytes(salt, PKCS5_SALT_LEN) <
=
0)
+ } else if (RAND_pseudo_bytes(salt, PKCS5_SALT_LEN) < 0)
goto end;
/* If -P option then don't bother writing */
if((printkey != 2)