Skip to content

Commit

Permalink
change DTLSv1_2_method to DTLS_method (#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidedongsn authored and jcague committed Apr 2, 2019
1 parent 2365d9e commit e0c0bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erizo/src/erizo/dtls/DtlsClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ int createCert(const std::string& pAor, int expireDays, int keyLen, X509*& outCe

ELOG_DEBUG("Creating Dtls factory, Openssl v %s", OPENSSL_VERSION_TEXT);

mContext = SSL_CTX_new(DTLSv1_2_method());
mContext = SSL_CTX_new(DTLS_method());
assert(mContext);

int r = SSL_CTX_use_certificate(mContext, mCert);
Expand Down

0 comments on commit e0c0bd0

Please sign in to comment.