Debugedit needs crypto initialization too..
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 15 Nov 2007 13:16:10 +0000 (15:16 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 15 Nov 2007 13:16:10 +0000 (15:16 +0200)
tools/debugedit.c

index cea532e..813c9be 100644 (file)
@@ -1315,6 +1315,8 @@ handle_build_id (DSO *dso, Elf_Data *build_id,
   void *digest = NULL;
   size_t len;
 
+  rpmInitCrypto();
+
   while (i-- > 0)
     {
       algorithm = algorithms[i];