Skip to content

Commit b86a1da

Browse files
Merge branch 'v0.22'
2 parents 7f42c7d + 2f86444 commit b86a1da

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-openssl.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: cmake
3131
run: cmake -B build -DUSE_GNUTLS=0 -WARNINGS_AS_ERRORS=1 -DENABLE_LOCAL_ADDRESS_TRANSLATION=1
3232
env:
33-
OPENSSL_ROOT_DIR: /usr/local/opt/openssl@1.1
33+
OPENSSL_ROOT_DIR: /usr/local/opt/openssl@3
3434
- name: make
3535
run: (cd build; make -j2)
3636
- name: test

src/impl/dtlstransport.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class DtlsTransport : public Transport, public std::enable_shared_from_this<Dtls
7878
mbedtls_ssl_config mConf;
7979
mbedtls_ssl_context mSsl;
8080

81-
std::mutex mSslMutex;
81+
std::recursive_mutex mSslMutex;
8282

8383
uint32_t mFinMs = 0, mIntMs = 0;
8484
std::chrono::time_point<std::chrono::steady_clock> mTimerSetAt;

src/impl/tlstransport.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class TlsTransport : public Transport, public std::enable_shared_from_this<TlsTr
7272
mbedtls_ssl_config mConf;
7373
mbedtls_ssl_context mSsl;
7474

75-
std::mutex mSslMutex;
75+
std::recursive_mutex mSslMutex;
7676
std::atomic<bool> mOutgoingResult = true;
7777

7878
message_ptr mIncomingMessage;

0 commit comments

Comments
 (0)