From 01ad3faee934aa805237bf5405e7c74dc1482a17 Mon Sep 17 00:00:00 2001 From: Kerrick Staley Date: Sun, 12 Jun 2011 05:20:08 -0500 Subject: Added initialization code for database siglevel The siglevel field of a newly created pmdb_t struct is now initialized when it is created in _alpm_db_new(). Signed-off-by: Kerrick Staley Signed-off-by: Dan McGee --- lib/libalpm/db.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 36cda72b..6db97570 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -331,6 +331,7 @@ pmdb_t *_alpm_db_new(const char *treename, int is_local) CALLOC(db, 1, sizeof(pmdb_t), RET_ERR(PM_ERR_MEMORY, NULL)); STRDUP(db->treename, treename, RET_ERR(PM_ERR_MEMORY, NULL)); db->is_local = is_local; + db->pgp_verify = PM_PGP_VERIFY_UNKNOWN; return db; } -- cgit v1.2.3-70-g09d2