Skip to content
Permalink
Browse files

Update to 1.2 version of DTLS (#1380)

  • Loading branch information...
jcague committed Mar 19, 2019
1 parent 980b0d6 commit 86a4fd305a00ccc299bfdc8fa064c79c48de496b
Showing with 1 addition and 1 deletion.
  1. +1 −1 erizo/src/erizo/dtls/DtlsClient.cpp
@@ -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_method());
mContext = SSL_CTX_new(DTLSv1_2_method());
assert(mContext);

int r = SSL_CTX_use_certificate(mContext, mCert);

0 comments on commit 86a4fd3

Please sign in to comment.
You can’t perform that action at this time.