Moved data structures to new collections subfolder
[strongswan.git] / src / libcharon / plugins / unit_tester / tests / test_med_db.c
index cc4278c..75244ab 100644 (file)
@@ -15,7 +15,7 @@
 
 #include <library.h>
 #include <daemon.h>
-#include <utils/enumerator.h>
+#include <collections/enumerator.h>
 
 #include <unistd.h>
 
@@ -41,7 +41,7 @@ bool test_med_db()
                                                                                                                KEY_ANY, id, NULL);
        while (enumerator->enumerate(enumerator, &public, &auth))
        {
-               good = public->get_fingerprint(public, KEY_ID_PUBKEY_SHA1, &found);
+               good = public->get_fingerprint(public, KEYID_PUBKEY_SHA1, &found);
                if (good)
                {
                        good = chunk_equals(id->get_encoding(id), found);