Skip to content

Commit

Permalink
Merge pull request #136 from Sean-Der/certificate_ca
Browse files Browse the repository at this point in the history
Set MBEDTLS_SSL_CERT_REQ_CA_LIST_DISABLED
  • Loading branch information
sepfy authored Sep 20, 2024
2 parents b87a511 + c7a4d66 commit e4cb297
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dtls_srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ int dtls_srtp_init(DtlsSrtp* dtls_srtp, DtlsSrtpRole role, void* user_data) {

mbedtls_ssl_conf_srtp_mki_value_supported(&dtls_srtp->conf, MBEDTLS_SSL_DTLS_SRTP_MKI_UNSUPPORTED);

mbedtls_ssl_conf_cert_req_ca_list(&dtls_srtp->conf, MBEDTLS_SSL_CERT_REQ_CA_LIST_DISABLED);

mbedtls_ssl_setup(&dtls_srtp->ssl, &dtls_srtp->conf);

return 0;
Expand Down

0 comments on commit e4cb297

Please sign in to comment.