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:
b8bb15f
)
rslen is unsigned, so it can never go below 0.
author
Richard Levitte
<levitte@openssl.org>
Sun, 28 May 2006 19:36:29 +0000
(19:36 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 28 May 2006 19:36:29 +0000
(19:36 +0000)
crypto/rsa/rsa_pmeth.c
patch
|
blob
|
history
diff --git
a/crypto/rsa/rsa_pmeth.c
b/crypto/rsa/rsa_pmeth.c
index 9f4a2ca336abd16204a0a14c5a49ad188e46389e..6d21b50d6d19ed8386bc9f02f45e097b99deb402 100644
(file)
--- a/
crypto/rsa/rsa_pmeth.c
+++ b/
crypto/rsa/rsa_pmeth.c
@@
-305,7
+305,7
@@
static int pkey_rsa_verify(EVP_PKEY_CTX *ctx,
return -1;
rslen = RSA_public_decrypt(siglen, sig, rctx->tbuf,
rsa, rctx->pad_mode);
- if (rslen
<
= 0)
+ if (rslen
=
= 0)
return 0;
}