diff options
author | deraadt <> | 2014-05-30 06:24:17 +0000 |
---|---|---|
committer | deraadt <> | 2014-05-30 06:24:17 +0000 |
commit | fa03bdcd17251bec54215a778d2e211e7517a8d7 (patch) | |
tree | 378f1ca33779c5e85714a5e4979113c540782fad /src/lib/libcrypto/rsa/rsa_oaep.c | |
parent | abd9b10898e82011a65d8e8fca56bf56532edd69 (diff) | |
download | openbsd-fa03bdcd17251bec54215a778d2e211e7517a8d7.tar.gz openbsd-fa03bdcd17251bec54215a778d2e211e7517a8d7.tar.bz2 openbsd-fa03bdcd17251bec54215a778d2e211e7517a8d7.zip |
more: no need to null check before free; ok guenther
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_oaep.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_oaep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_oaep.c b/src/lib/libcrypto/rsa/rsa_oaep.c index a107e89b81..53d35621a3 100644 --- a/src/lib/libcrypto/rsa/rsa_oaep.c +++ b/src/lib/libcrypto/rsa/rsa_oaep.c | |||
@@ -179,7 +179,7 @@ decoding_err: | |||
179 | /* to avoid chosen ciphertext attacks, the error message should not reveal | 179 | /* to avoid chosen ciphertext attacks, the error message should not reveal |
180 | * which kind of decoding error happened */ | 180 | * which kind of decoding error happened */ |
181 | RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP, RSA_R_OAEP_DECODING_ERROR); | 181 | RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP, RSA_R_OAEP_DECODING_ERROR); |
182 | if (db != NULL) free(db); | 182 | free(db); |
183 | return -1; | 183 | return -1; |
184 | } | 184 | } |
185 | 185 | ||