eduardsui / tlse

Single C file TLS 1.2/1.3 implementation, using tomcrypt as crypto library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No server certificate set

pankajbelwalcse opened this issue · comments

Im encountering this error while trying tlsclienthello.c example. And also not able to do complete handshake. No Change cipher spec sent. Im trying with TLS 1.3 version.
if ((!len) || (!context->certificates) || (!context->certificates_count) || (!context->certificates[0]) ||
(!context->certificates[0]->der_bytes) || (!context->certificates[0]->der_len))

this condition inside _private_tls_verify_rsa() seems true after Server Hello (HANDSHAKE)