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) {