]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix clang build error after rev.13961
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 22 Dec 2015 02:59:42 +0000 (15:59 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 22 Dec 2015 02:59:42 +0000 (15:59 +1300)
src/ssl/support.cc

index d04090ca199d641378d8ab0196af6191c985bbf2..76d99c219a7f58879606536ea44f9eba5cb4019d 100644 (file)
@@ -1795,7 +1795,8 @@ findCertByIssuerFast(X509_STORE_CTX *ctx, Ssl::CertsIndexedList &list, X509 *cer
     else
         return NULL;
 
-    const auto ret = list.equal_range(SBuf(buffer));
+    typedef std::pair<Ssl::CertsIndexedList::iterator, Ssl::CertsIndexedList::iterator> Pair;
+    const Pair ret = list.equal_range(SBuf(buffer));
     for (Ssl::CertsIndexedList::iterator it = ret.first; it != ret.second; ++it) {
         X509 *issuer = it->second;
         if (ctx->check_issued(ctx, cert, issuer)) {