diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-10-02 18:20:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-10-02 18:20:22 +0000 |
commit | 77db140f94d5608990d35b29d0a04ba98211060a (patch) | |
tree | cf12add10b89be4b18bf887f2ca49da27bb00930 /crypto/pkcs12/p12_decr.c | |
parent | fecef70773b2408cdaf8a8631057c83d762730cd (diff) |
Typo.
Diffstat (limited to 'crypto/pkcs12/p12_decr.c')
-rw-r--r-- | crypto/pkcs12/p12_decr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/pkcs12/p12_decr.c b/crypto/pkcs12/p12_decr.c index 5dcb55b16b..9d3557e8d7 100644 --- a/crypto/pkcs12/p12_decr.c +++ b/crypto/pkcs12/p12_decr.c @@ -96,8 +96,7 @@ unsigned char * PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, PKCS12err(PKCS12_F_PKCS12_PBE_CRYPT,ERR_R_EVP_LIB); goto err; } - outlen += i; - + outlen = i; if(!EVP_CipherFinal_ex(&ctx, out + i, &i)) { OPENSSL_free(out); |