Skip to content

Commit

Permalink
Modified DTLS cert signature algorithm used (#3876)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauwming authored Mar 5, 2024
1 parent 5ef8463 commit 9e6a63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pjmedia/src/pjmedia/transport_srtp_dtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ static pj_status_t ssl_generate_cert(X509 **p_cert, EVP_PKEY **p_priv_key)
if (!X509_set_pubkey(cert, priv_key)) goto on_error;

/* Sign with the private key */
if (!X509_sign(cert, priv_key, EVP_sha1())) goto on_error;
if (!X509_sign(cert, priv_key, EVP_sha256())) goto on_error;

/* Free big number */
BN_free(bne);
Expand Down

0 comments on commit 9e6a63e

Please sign in to comment.