diff -dupr a/tests/check-database.c b/tests/check-database.c
--- a/tests/check-database.c	2016-08-26 11:12:25.000000000 -0700
+++ b/tests/check-database.c	2017-09-12 16:35:08.264284125 -0700
@@ -58,7 +58,7 @@ START_TEST(cve_database_fetch)
         fail_if(!cve_db_load(db, TOP_DIR "/tests/dummy_data/nvdcve-2.0-2002.xml"),
                 "Failed to load database");
 
-        ret = cve_db_get_issues(db, "ssleay", "0.9");
+        ret = cve_db_get_issues(db, NULL, "ssleay", "0.9", NULL);
         fail_if(!ret, "Failed to get issues list for ssleay");
 
         fail_if(g_list_length(ret) != 2, "Incorrect issue count for ssleay");