1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

Add TODO comment for Cert

This commit is contained in:
winlin 2020-04-03 15:08:52 +08:00
parent 8c42ad622b
commit 9e7e80f5f5

View file

@ -150,6 +150,7 @@ srs_error_t SrsDtlsSession::initialize(const SrsRequest& req)
return srs_error_wrap(err, "DTLS init");
}
// TODO: FIXME: Support config by vhost to use RSA or ECDSA certificate.
if ((dtls = SSL_new(SrsDtls::instance()->get_dtls_ctx())) == NULL) {
return srs_error_new(ERROR_OpenSslCreateSSL, "SSL_new dtls");
}