summaryrefslogtreecommitdiff
path: root/rpmio/thkp.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-15 14:03:19 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-15 14:03:19 +0200
commit3a168d6927ec8c647b06b3f437c1503305141eb3 (patch)
tree7fbf522a5d499f92882be3a98175c6b11958f65e /rpmio/thkp.c
parent589b54af909b5ee8e98818291b955b0951b1c26c (diff)
downloadrpm-3a168d6927ec8c647b06b3f437c1503305141eb3.tar.gz
rpm-3a168d6927ec8c647b06b3f437c1503305141eb3.tar.bz2
rpm-3a168d6927ec8c647b06b3f437c1503305141eb3.zip
Remember to initialize crypto in various test programs..
Diffstat (limited to 'rpmio/thkp.c')
-rw-r--r--rpmio/thkp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmio/thkp.c b/rpmio/thkp.c
index ea9d6891e..373e16c9b 100644
--- a/rpmio/thkp.c
+++ b/rpmio/thkp.c
@@ -49,6 +49,7 @@ static int readKeys(const char * uri)
int rc;
int ec = 0;
+ rpmInitCrypto();
dig = pgpNewDig();
for (kip = keyids; *kip; kip += 2) {
pgpArmor pa;