diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-05 08:07:25 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-05 08:07:25 +0000 |
commit | 6fb295f092c28d7ee4a32dc46322afff0b38a697 (patch) | |
tree | d6671339b7eda799745e5e3ce7d88d95d1165e37 /lib/libcrypto | |
parent | 8f08a34ffd92a4778ea723e825588100bb421cb3 (diff) |
Fix typo in previous.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/kdf/hkdf_evp.c | 4 |
1 files 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; |