projects
/
bcm963xx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
and added files
[bcm963xx.git]
/
userapps
/
opensource
/
openssl
/
crypto
/
rsa
/
rsa_saos.c
diff --git
a/userapps/opensource/openssl/crypto/rsa/rsa_saos.c
b/userapps/opensource/openssl/crypto/rsa/rsa_saos.c
index
f462716
..
24fc948
100755
(executable)
--- a/
userapps/opensource/openssl/crypto/rsa/rsa_saos.c
+++ b/
userapps/opensource/openssl/crypto/rsa/rsa_saos.c
@@
-139,8
+139,11
@@
int RSA_verify_ASN1_OCTET_STRING(int dtype,
ret=1;
err:
if (sig != NULL) M_ASN1_OCTET_STRING_free(sig);
- OPENSSL_cleanse(s,(unsigned int)siglen);
- OPENSSL_free(s);
+ if (s != NULL)
+ {
+ OPENSSL_cleanse(s,(unsigned int)siglen);
+ OPENSSL_free(s);
+ }
return(ret);
}