projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This commit was manufactured by cvs2svn to create branch
[oweals/openssl.git]
/
crypto
/
rsa
/
rsa_pss.c
diff --git
a/crypto/rsa/rsa_pss.c
b/crypto/rsa/rsa_pss.c
index 775c36114f5a4559b58f6b2925426753047b56eb..ac211e2ffe0121028a94f2d897347c9354c3c3d3 100644
(file)
--- a/
crypto/rsa/rsa_pss.c
+++ b/
crypto/rsa/rsa_pss.c
@@
-222,7
+222,7
@@
int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
ERR_R_MALLOC_FAILURE);
goto err;
}
- if (
!RAND_bytes(salt, sLen)
)
+ if (
RAND_bytes(salt, sLen) <= 0
)
goto err;
}
maskedDBLen = emLen - hLen - 1;