Make jenkins happy. \n\nI feel like I should put the guard around the whole function but then other things break.

This commit is contained in:
Anthony Hu
2021-08-31 12:34:52 -04:00
parent 0d6d171fa4
commit 096db7577f

View File

@@ -4721,9 +4721,11 @@ int TLSX_UseSupportedCurve(TLSX** extensions, word16 name, void* heap)
return BAD_FUNC_ARG;
}
#ifdef WOLFSSL_TLS13
if (! TLSX_KeyShare_IsSupported(name)) {
return BAD_FUNC_ARG;
}
#endif
extension = TLSX_Find(*extensions, TLSX_SUPPORTED_GROUPS);