diff --git a/include/rtc/configuration.hpp b/include/rtc/configuration.hpp index 0c82251b4..13393dd56 100644 --- a/include/rtc/configuration.hpp +++ b/include/rtc/configuration.hpp @@ -77,7 +77,7 @@ struct RTC_CPP_EXPORT Configuration { bool disableAutoNegotiation = false; bool disableAutoGathering = false; bool forceMediaTransport = false; - bool skipCheckFingerprint = false; + bool disableFingerprintVerification = false; // Port range uint16_t portRangeBegin = 1024; diff --git a/src/impl/peerconnection.cpp b/src/impl/peerconnection.cpp index a460a41f0..33c7d44d2 100644 --- a/src/impl/peerconnection.cpp +++ b/src/impl/peerconnection.cpp @@ -426,7 +426,7 @@ bool PeerConnection::checkFingerprint(const std::string &fingerprint) const { if (!mRemoteDescription || !mRemoteDescription->fingerprint()) return false; - if (config.skipCheckFingerprint) + if (config.disableFingerprintVerification) return true; auto expectedFingerprint = mRemoteDescription->fingerprint()->value;