From f7cce7e33aced0120488db776ac95257aa2e45e0 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 12 Sep 2007 07:56:00 +0000 Subject: [PATCH] included pem.h and x509.h; fixed comparison bug --- src/libstrongswan/crypto/ac.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libstrongswan/crypto/ac.c b/src/libstrongswan/crypto/ac.c index 7ef91fcd2..7ecf23514 100644 --- a/src/libstrongswan/crypto/ac.c +++ b/src/libstrongswan/crypto/ac.c @@ -28,8 +28,11 @@ #include #include +#include +#include #include #include + #include "ac.h" #define ACERT_WARNING_INTERVAL 1 /* day */ @@ -283,7 +286,7 @@ static void ietfAttr_list(linked_list_t *list, FILE *out) { int oid = known_oid(attr->value); - if (oid = OID_UNKNOWN) + if (oid == OID_UNKNOWN) { fprintf(out, "0x#B", &attr->value); }