From 534500d66bc3206b87a454063a17098f8e4af1f7 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 4 Jun 2026 13:36:25 -0700 Subject: [PATCH] Remove redundant preprocessor guard Cleanup clang-tidy readability-redundant-preprocessor finding. --- src/internal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index a6622691..9d314dff 100644 --- a/src/internal.c +++ b/src/internal.c @@ -7563,7 +7563,6 @@ static int DoUserAuthRequestRsaCert(WOLFSSH* ssh, WS_UserAuthData_PublicKey* pk, publicKeyTypeSz) == 0) { sigTypeOk = 1; } - #ifdef WOLFSSH_CERTS else if (publicKeyType != NULL && pk->publicKeyTypeSz == 14 && WMEMCMP(pk->publicKeyType, @@ -7581,7 +7580,6 @@ static int DoUserAuthRequestRsaCert(WOLFSSH* ssh, WS_UserAuthData_PublicKey* pk, sigTypeOk = 1; } } - #endif if (!sigTypeOk) { WLOG(WS_LOG_DEBUG, "Signature's type does not match public key type");