comm_close_complete(const FdeCbParams ¶ms)
{
fde *F = &fd_table[params.fd];
- F->ssl.resetWithoutLocking(nullptr);
+ F->ssl.reset();
#if USE_OPENSSL
if (F->dynamicSslContext) {
halfClosedReader = NULL;
read_method = NULL;
write_method = NULL;
- ssl.resetWithoutLocking(nullptr);
+ ssl.reset();
dynamicSslContext = NULL;
#if _SQUID_WINDOWS_
win32.handle = (long)NULL;
if (!Ssl::certificateMatchesProperties(cert.get(), certProperties)) {
// The certificate changed (renewed or other reason).
// Generete a new one with the updated fields.
- cert.resetWithoutLocking(nullptr);
- pkey.resetWithoutLocking(nullptr);
+ cert.reset();
+ pkey.reset();
db.purgeCert(cert_subject);
}
}