--------------------- PatchSet 7761 Date: 2006/05/15 23:07:40 Author: hno Branch: ssl-2_5 Tag: (none) Log: Fix %USER_CERT_xxx and %CA_CERT_xxx directives. Members: src/external_acl.c:1.2.4.11.2.15->1.2.4.11.2.16 Index: squid/src/external_acl.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/external_acl.c,v retrieving revision 1.2.4.11.2.15 retrieving revision 1.2.4.11.2.16 diff -u -r1.2.4.11.2.15 -r1.2.4.11.2.16 --- squid/src/external_acl.c 15 Apr 2005 01:13:56 -0000 1.2.4.11.2.15 +++ squid/src/external_acl.c 15 May 2006 23:07:40 -0000 1.2.4.11.2.16 @@ -1,6 +1,6 @@ /* - * $Id: external_acl.c,v 1.2.4.11.2.15 2005/04/15 01:13:56 hno Exp $ + * $Id: external_acl.c,v 1.2.4.11.2.16 2006/05/15 23:07:40 hno Exp $ * * DEBUG: section 82 External ACL * AUTHOR: Henrik Nordstrom, MARA Systems AB @@ -279,11 +279,11 @@ format->type = EXT_ACL_USER_CERT_RAW; else if (strcmp(token, "%USER_CERTCHAIN") == 0) format->type = EXT_ACL_USER_CERTCHAIN_RAW; - else if (strncmp(token, "%USER_CERT_", 11)) { + else if (strncmp(token, "%USER_CERT_", 11) == 0) { format->type = EXT_ACL_USER_CERT; format->header = xstrdup(token + 11); - } else if (strncmp(token, "%CA_CERT_", 9)) { - format->type = EXT_ACL_USER_CERT; + } else if (strncmp(token, "%CA_CERT_", 9) == 0) { + format->type = EXT_ACL_CA_CERT; format->header = xstrdup(token + 9); } #endif