From 8112c81fc563efedc2d02d4b1d863ae29687e772 Mon Sep 17 00:00:00 2001 From: Stanislav Klima Date: Thu, 16 Apr 2020 23:30:11 +0200 Subject: [PATCH] Added missing NO_CERTS check. --- src/internal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/internal.c b/src/internal.c index a13e566be..226bf2f27 100644 --- a/src/internal.c +++ b/src/internal.c @@ -24044,6 +24044,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx, #endif /* NO_WOLFSSL_CLIENT */ +#ifndef NO_CERTS + #ifdef HAVE_PK_CALLBACKS int GetPrivateKeySigSize(WOLFSSL* ssl) { @@ -24087,6 +24089,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx, } #endif /* HAVE_PK_CALLBACKS */ +#endif /* NO_CERTS */ + #ifdef HAVE_ECC /* returns the WOLFSSL_* version of the curve from the OID sum */ word16 GetCurveByOID(int oidSum) {