Merge pull request #2880 from SparkiDev/tls_csr_ext_empty

GNU TLS server sends empty CSR extension
This commit is contained in:
toddouska
2020-04-07 13:08:21 -07:00
committed by GitHub

View File

@@ -3049,6 +3049,8 @@ static int TLSX_CSR_Parse(WOLFSSL* ssl, byte* input, word16 length,
word16 offset = 0;
word16 size = 0;
if (length == 0)
return 0;
if (length < ENUM_LEN)
return BUFFER_ERROR;