eduardsui / tlse

Single C file TLS 1.2/1.3 implementation, using tomcrypt as crypto library
Other
540 stars 89 forks source link

No server certificate set #88

Open pankajbelwalcse opened 11 months ago

pankajbelwalcse commented 11 months ago

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)