diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2021-12-14 18:30:54 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2021-12-14 18:30:54 +0000 |
commit | 56eae1b760adf10835560a9ee595549a1f10410f (patch) | |
tree | 3669bea49de5b47517bb53f6d62d7359df20d3a6 /crypto/cms | |
parent | c1d1798abd60f12527b70443cb7d0b9cd78ef7b1 (diff) | |
download | src-56eae1b760adf10835560a9ee595549a1f10410f.tar.gz src-56eae1b760adf10835560a9ee595549a1f10410f.zip |
Import OpenSSL 1.1.1m.vendor/openssl/1.1.1m
Diffstat (limited to 'crypto/cms')
-rw-r--r-- | crypto/cms/cms_env.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/cms/cms_env.c b/crypto/cms/cms_env.c index 04940146fd25..962a0137542a 100644 --- a/crypto/cms/cms_env.c +++ b/crypto/cms/cms_env.c @@ -1,5 +1,5 @@ /* - * Copyright 2008-2019 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2008-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -737,6 +737,7 @@ static int cms_RecipientInfo_kekri_decrypt(CMS_ContentInfo *cms, goto err; } + OPENSSL_clear_free(ec->key, ec->keylen); ec->key = ukey; ec->keylen = ukeylen; |