[libgnome-keyring] egg: Initialize libgcrypt correctly before HKDF tests
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-keyring] egg: Initialize libgcrypt correctly before HKDF tests
- Date: Tue, 30 Aug 2011 10:18:43 +0000 (UTC)
commit 0019a780e438c864abcb82033f9e903c7ff76298
Author: Stef Walter <stef memberwebs com>
Date: Tue Aug 30 11:47:51 2011 +0200
egg: Initialize libgcrypt correctly before HKDF tests
egg/tests/test-dh.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/egg/tests/test-dh.c b/egg/tests/test-dh.c
index ed74e7c..13007f3 100644
--- a/egg/tests/test-dh.c
+++ b/egg/tests/test-dh.c
@@ -24,6 +24,7 @@
#include "config.h"
#include "egg-dh.h"
+#include "egg-libgcrypt.h"
#include "egg-secure-memory.h"
#include "egg-testing.h"
@@ -197,6 +198,8 @@ main (int argc, char **argv)
{
g_test_init (&argc, &argv, NULL);
+ egg_libgcrypt_initialize ();
+
g_test_add_func ("/dh/perform", test_dh_perform);
g_test_add_func ("/dh/short-pair", test_dh_short_pair);
g_test_add_func ("/dh/default-768", test_dh_default_768);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]