/*
- * Copyright (C) 1996-2015 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.
#include "client_side.h"
#include "fde.h"
#include "globals.h"
+#include "http/Stream.h"
#include "HttpRequest.h"
int
{
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);