/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
{
const int fd = checklist->fd();
const bool goodDescriptor = 0 <= fd && fd <= Biggest_FD;
- auto ssl = goodDescriptor ? fd_table[fd].ssl : nullptr;
+ auto ssl = goodDescriptor ? fd_table[fd].ssl.get() : nullptr;
X509 *cert = SSL_get_peer_certificate(ssl);
const bool res = data->match (cert);
X509_free(cert);