From db67c87db3c9089ea8d2e14f617bf3d9e2af261f Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Wed, 9 Jul 2008 21:02:41 +0000 Subject: [svn-upgrade] Integrating new upstream version, strongswan (4.2.4) --- src/pluto/ac.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/pluto/ac.c') diff --git a/src/pluto/ac.c b/src/pluto/ac.c index 43ebf91d9..77e0b40bb 100644 --- a/src/pluto/ac.c +++ b/src/pluto/ac.c @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * RCSID $Id: ac.c 3253 2007-10-06 21:39:00Z andreas $ + * RCSID $Id: ac.c 3686 2008-03-28 11:48:14Z martin $ */ #include @@ -598,16 +598,6 @@ parse_ac(chunk_t blob, x509acert_t *ac) return TRUE; } -/* - * compare two X.509 attribute certificates by comparing their signatures - */ -static bool -same_x509acert(x509acert_t *a, x509acert_t *b) -{ - return a->signature.len == b->signature.len && - memcmp(a->signature.ptr, b->signature.ptr, b->signature.len) == 0; -} - /* * release an ietfAttribute, free it if count reaches zero */ -- cgit v1.2.3