]> git.ipfire.org Git - thirdparty/squid.git/blob - src/security/EncryptorAnswer.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / security / EncryptorAnswer.cc
1 /*
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 #include "squid.h"
10 #include "comm/Connection.h"
11 #include "errorpage.h"
12 #include "security/EncryptorAnswer.h"
13
14 Security::EncryptorAnswer::~EncryptorAnswer()
15 {
16 delete error.get();
17 }
18
19 std::ostream &
20 Security::operator <<(std::ostream &os, const Security::EncryptorAnswer &answer)
21 {
22 return os << answer.conn << ", " << answer.error;
23 }
24