From 843e27d3f0c7dac42b6bbb6698954468d62c9809 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 4 May 2022 19:15:52 +0000 Subject: [PATCH] Whitespace nit (knfmt(1) agrees after inserting an empty line after the variable declaration) --- lib/libcrypto/kdf/hkdf_evp.c | 9 +++++---- 1 file 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); } -- 2.20.1