diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-04 19:15:53 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-04 19:15:53 +0000 |
commit | 0796ff5972c377f006173e4e7fa6d73d6353f4e8 (patch) | |
tree | 2e89e787f9ec6f24ab70322982257700d18054e4 /lib/libcrypto/kdf | |
parent | 15e4c2e6420664d5abf88343c378402924e1da8a (diff) |
Whitespace nit (knfmt(1) agrees after inserting an empty line after the
variable declaration)
Diffstat (limited to 'lib/libcrypto/kdf')
-rw-r--r-- | lib/libcrypto/kdf/hkdf_evp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libcrypto/kdf/hkdf_evp.c b/lib/libcrypto/kdf/hkdf_evp.c index 85ed2d5e42d..997835fe9c8 100644 --- a/lib/libcrypto/kdf/hkdf_evp.c +++ b/lib/libcrypto/kdf/hkdf_evp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hkdf_evp.c,v 1.5 2022/05/04 18:56:34 tb Exp $ */ +/* $OpenBSD: hkdf_evp.c,v 1.6 2022/05/04 19:15:52 tb Exp $ */ /* ==================================================================== * Copyright (c) 2016-2018 The OpenSSL Project. All rights reserved. * @@ -103,9 +103,10 @@ static void pkey_hkdf_cleanup(EVP_PKEY_CTX *ctx) { HKDF_PKEY_CTX *kctx = ctx->data; - OPENSSL_clear_free(kctx -> salt, kctx -> salt_len); - OPENSSL_clear_free(kctx -> key, kctx -> key_len); - OPENSSL_cleanse(kctx -> info, kctx -> info_len); + + OPENSSL_clear_free(kctx->salt, kctx->salt_len); + OPENSSL_clear_free(kctx->key, kctx->key_len); + OPENSSL_cleanse(kctx->info, kctx->info_len); OPENSSL_free(kctx); } |