From b42bfcb1b2b0b894f4376635c43c2970a8aa47d3 Mon Sep 17 00:00:00 2001 From: Aveen Ismail Date: Sun, 29 Sep 2024 18:21:58 +0200 Subject: [PATCH] Revert change back --- pkcs11/util_pkcs11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkcs11/util_pkcs11.c b/pkcs11/util_pkcs11.c index b9eaf7a8..d0e92e21 100644 --- a/pkcs11/util_pkcs11.c +++ b/pkcs11/util_pkcs11.c @@ -6092,7 +6092,7 @@ bool match_meta_attributes(yubihsm_pkcs11_session *session, return true; } - +#ifndef FUZZING static void increment_ctr(uint8_t *ctr, size_t len) { while (len > 0) { if (++ctr[--len]) { @@ -6100,7 +6100,7 @@ static void increment_ctr(uint8_t *ctr, size_t len) { } } } - +#endif CK_RV ecdh_with_kdf(ecdh_session_key *shared_secret, uint8_t *fixed_info, size_t fixed_len, CK_ULONG kdf, size_t value_len) {