diff options
| author | tb <> | 2024-02-18 15:53:54 +0000 |
|---|---|---|
| committer | tb <> | 2024-02-18 15:53:54 +0000 |
| commit | f63cb33bf7e29ee6ba85dbeb12a51f1fba4bab1e (patch) | |
| tree | 95cab5814839bf6cfb5f1a42136ad3b1a7c5aefc /src | |
| parent | 7a2d8cb30c9ac7a1839a899266194230d2502760 (diff) | |
| download | openbsd-f63cb33bf7e29ee6ba85dbeb12a51f1fba4bab1e.tar.gz openbsd-f63cb33bf7e29ee6ba85dbeb12a51f1fba4bab1e.tar.bz2 openbsd-f63cb33bf7e29ee6ba85dbeb12a51f1fba4bab1e.zip | |
Align EVP_CIPHER_CTX_init() and _legacy_clear()
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/evp/evp_cipher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/evp_cipher.c b/src/lib/libcrypto/evp/evp_cipher.c index 94eb42a807..12fa6e1d27 100644 --- a/src/lib/libcrypto/evp/evp_cipher.c +++ b/src/lib/libcrypto/evp/evp_cipher.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: evp_cipher.c,v 1.18 2024/02/18 15:41:50 tb Exp $ */ | 1 | /* $OpenBSD: evp_cipher.c,v 1.19 2024/02/18 15:53:54 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -615,7 +615,7 @@ EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) | |||
| 615 | void | 615 | void |
| 616 | EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) | 616 | EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) |
| 617 | { | 617 | { |
| 618 | memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); | 618 | memset(ctx, 0, sizeof(*ctx)); |
| 619 | } | 619 | } |
| 620 | 620 | ||
| 621 | void | 621 | void |
