fixed compile warnings
authorMartin Willi <martin@strongswan.org>
Wed, 2 Apr 2008 09:54:20 +0000 (09:54 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 2 Apr 2008 09:54:20 +0000 (09:54 -0000)
src/charon/plugins/stroke/stroke_list.c
src/libstrongswan/plugins/gmp/gmp_public_key.c

index 024e95b..302ff24 100644 (file)
@@ -527,7 +527,6 @@ static void stroke_list_crls(linked_list_t *list, bool utc, FILE *out)
 static void stroke_list_ocsp(linked_list_t* list, bool utc, FILE *out)
 {
        bool first = TRUE;
-       time_t thisUpdate, nextUpdate, now = time(NULL);
        enumerator_t *enumerator = list->create_enumerator(list);
        certificate_t *cert;
        
index 9f0cf42..17b2ca3 100644 (file)
@@ -19,6 +19,7 @@
 #include "gmp_public_key.h"
 
 #include <asn1/asn1.h>
+#include <debug.h>
 
 /**
  * ASN.1 definition of a subjectPublicKeyInfo structure