mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
p2p: fix tlsSession deletion
Change-Id: Ic65a866f1d769f57d7e831a7f90bc3ff678732a5
This commit is contained in:
@ -446,11 +446,11 @@ public:
|
||||
void onTlsRxData(std::vector<uint8_t>&&);
|
||||
void onTlsCertificatesUpdate(const gnutls_datum_t*, const gnutls_datum_t*, unsigned int);
|
||||
|
||||
std::unique_ptr<tls::TlsSession> tls;
|
||||
OnStateChangeCb onStateChangeCb_;
|
||||
const dht::crypto::Certificate& peerCertificate;
|
||||
dht::crypto::Certificate null_cert;
|
||||
std::function<bool(const dht::crypto::Certificate &)> peerCertificateCheckFunc;
|
||||
OnStateChangeCb onStateChangeCb_;
|
||||
std::unique_ptr<tls::TlsSession> tls;
|
||||
};
|
||||
|
||||
// Declaration at namespace scope is necessary (until C++17)
|
||||
|
Reference in New Issue
Block a user