From 89ecced3873f0438b4a79a52a09df5716e2319f8 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 5 May 2022 08:07:24 +0000 Subject: [PATCH] Fix typo in previous. --- lib/libcrypto/kdf/hkdf_evp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/kdf/hkdf_evp.c b/lib/libcrypto/kdf/hkdf_evp.c index d67c5f41b8f..2501ba9cfaf 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.11 2022/05/05 08:05:58 tb Exp $ */ +/* $OpenBSD: hkdf_evp.c,v 1.12 2022/05/05 08:07:24 tb Exp $ */ /* ==================================================================== * Copyright (c) 2016-2018 The OpenSSL Project. All rights reserved. * @@ -127,7 +127,7 @@ pkey_hkdf_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) kctx->salt = malloc(p1); if (kctx->salt == NULL) return 0; - memcpy(ktx->salt, p2, p1); + memcpy(kctx->salt, p2, p1); kctx->salt_len = p1; return 1; -- 2.20.1