Skip to content

Commit

Permalink
Sign self generated DTLS certificate with SHA256 (#1450)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc authored Sep 6, 2024
1 parent cff9e78 commit fd963ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### NEXT

- Sign self generated DTLS certificate with SHA256 ([PR #1450](https://github.com/versatica/mediasoup/pull/1450)).

### 3.14.13

- Node: Fix regression in exported `mediasoup.types` (classes are now exported as classes instead of types).
Expand Down
2 changes: 1 addition & 1 deletion worker/src/RTC/DtlsTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ namespace RTC
}

// 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)
{
Expand Down

0 comments on commit fd963ff

Please sign in to comment.