diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-03-22 13:50:23 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-03-22 13:50:23 +0000 |
commit | e77066ea0a1a339a22bd5226eb08f139f67e96fe (patch) | |
tree | d71e9ef514b5cea0512376b563665c2949253b33 /crypto/des/destest.c | |
parent | d12cd419009ed7b57245ac9ba65df06705aa259f (diff) | |
download | openssl-e77066ea0a1a339a22bd5226eb08f139f67e96fe.tar.gz |
Fix a memory leak in PKCS12_parse.
Don't copy private key to X509 etc public key structures.
Fix for warning.
Diffstat (limited to 'crypto/des/destest.c')
-rw-r--r-- | crypto/des/destest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/destest.c b/crypto/des/destest.c index c929cc87f2..df0d615d6b 100644 --- a/crypto/des/destest.c +++ b/crypto/des/destest.c @@ -709,7 +709,7 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]); printf("Doing quad_cksum\n"); cs=quad_cksum(cbc_data,(des_cblock *)lqret, - (long)strlen(cbc_data),2,(des_cblock *)cbc_iv); + (long)strlen((char *)cbc_data),2,(des_cblock *)cbc_iv); if (cs != 0x70d7a63aL) { printf("quad_cksum error, ret %08lx should be 70d7a63a\n", |