vici: Don't compare unsigned certificate_type_t to -1
authorMartin Willi <martin@revosec.ch>
Thu, 3 Apr 2014 14:41:07 +0000 (16:41 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 7 May 2014 12:13:37 +0000 (14:13 +0200)
src/libcharon/plugins/vici/vici_query.c

index c039561..f89ae01 100644 (file)
@@ -723,7 +723,7 @@ CALLBACK(list_certs, vici_message_t*,
        certificate_t *cert, *current;
        chunk_t encoding;
        identification_t *subject = NULL;
        certificate_t *cert, *current;
        chunk_t encoding;
        identification_t *subject = NULL;
-       certificate_type_t type;
+       int type;
        vici_builder_t *b;
        bool found;
        char *str;
        vici_builder_t *b;
        bool found;
        char *str;