Add TODO comment for Cert
This commit is contained in:
parent
8c42ad622b
commit
9e7e80f5f5
|
|
@ -150,6 +150,7 @@ srs_error_t SrsDtlsSession::initialize(const SrsRequest& req)
|
||||||
return srs_error_wrap(err, "DTLS init");
|
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) {
|
if ((dtls = SSL_new(SrsDtls::instance()->get_dtls_ctx())) == NULL) {
|
||||||
return srs_error_new(ERROR_OpenSslCreateSSL, "SSL_new dtls");
|
return srs_error_new(ERROR_OpenSslCreateSSL, "SSL_new dtls");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user