Unverified 提交 fd963ff3 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: GitHub

Sign self generated DTLS certificate with SHA256 (#1450)

上级 cff9e78b
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
### NEXT ### NEXT
- Sign self generated DTLS certificate with SHA256 ([PR #1450](https://github.com/versatica/mediasoup/pull/1450)).
### 3.14.13 ### 3.14.13
- Node: Fix regression in exported `mediasoup.types` (classes are now exported as classes instead of types). - Node: Fix regression in exported `mediasoup.types` (classes are now exported as classes instead of types).
......
...@@ -415,7 +415,7 @@ namespace RTC ...@@ -415,7 +415,7 @@ namespace RTC
} }
// Sign the certificate with its own private key. // Sign the certificate with its own private key.
ret = X509_sign(DtlsTransport::certificate, DtlsTransport::privateKey, EVP_sha1()); ret = X509_sign(DtlsTransport::certificate, DtlsTransport::privateKey, EVP_sha256());
if (ret == 0) if (ret == 0)
{ {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论