Added missing NO_CERTS check.

This commit is contained in:
Stanislav Klima
2020-04-16 23:30:11 +02:00
parent eab451339c
commit 8112c81fc5

View File

@ -24044,6 +24044,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
#endif /* NO_WOLFSSL_CLIENT */ #endif /* NO_WOLFSSL_CLIENT */
#ifndef NO_CERTS
#ifdef HAVE_PK_CALLBACKS #ifdef HAVE_PK_CALLBACKS
int GetPrivateKeySigSize(WOLFSSL* ssl) int GetPrivateKeySigSize(WOLFSSL* ssl)
{ {
@ -24087,6 +24089,8 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
} }
#endif /* HAVE_PK_CALLBACKS */ #endif /* HAVE_PK_CALLBACKS */
#endif /* NO_CERTS */
#ifdef HAVE_ECC #ifdef HAVE_ECC
/* returns the WOLFSSL_* version of the curve from the OID sum */ /* returns the WOLFSSL_* version of the curve from the OID sum */
word16 GetCurveByOID(int oidSum) { word16 GetCurveByOID(int oidSum) {