diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2025-09-30 19:12:11 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2025-09-30 19:13:17 +0000 |
commit | 8e12a5c4eb3507846b507d0afe87d115af41df40 (patch) | |
tree | 2f170ce535a803881e0df7dd2ab3e7ccb5fac99d /crypto/modes/siv128.c | |
parent | aed904c48f330dc76da942a8ee2d6eef9d11f572 (diff) |
openssl: import 3.5.4vendor/openssl/3.5.4vendor/openssl-3.5
This change adds OpenSSL 3.5.4 from upstream [1].
The 3.5.4 artifact was been verified via PGP key [2] and by SHA256 checksum [3].
This is a security release, but also contains several bugfixes.
More information about the release (from a high level) can be found in
the release notes [4].
1. https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-3.5.4.tar.gz
2. https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-3.5.4.tar.gz.asc
3. https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-3.5.4.tar.gz.sha256
4. https://github.com/openssl/openssl/blob/openssl-3.5.4/NEWS.md
Diffstat (limited to 'crypto/modes/siv128.c')
-rw-r--r-- | crypto/modes/siv128.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/modes/siv128.c b/crypto/modes/siv128.c index 72526b849eaf..4e52d8eb8782 100644 --- a/crypto/modes/siv128.c +++ b/crypto/modes/siv128.c @@ -202,9 +202,12 @@ int ossl_siv128_init(SIV128_CONTEXT *ctx, const unsigned char *key, int klen, || !EVP_MAC_final(mac_ctx, ctx->d.byte, &out_len, sizeof(ctx->d.byte))) { EVP_CIPHER_CTX_free(ctx->cipher_ctx); + ctx->cipher_ctx = NULL; EVP_MAC_CTX_free(ctx->mac_ctx_init); + ctx->mac_ctx_init = NULL; EVP_MAC_CTX_free(mac_ctx); EVP_MAC_free(ctx->mac); + ctx->mac = NULL; return 0; } EVP_MAC_CTX_free(mac_ctx); |