summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/openssl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/openssl.c b/tests/openssl.c
index 2fa9f8c3ca..5cffa25b6c 100644
--- a/tests/openssl.c
+++ b/tests/openssl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005 Free Software Foundation
+ * Copyright (C) 2004, 2005, 2008 Free Software Foundation
*
* Author: Simon Josefsson
*
@@ -36,6 +36,9 @@ doit (void)
MD5_CTX c;
unsigned char md[MD5_DIGEST_LENGTH];
+ if (gnutls_global_init() != 0)
+ fail ("gnutls_global_init\n");
+
if (!gnutls_check_version (LIBGNUTLS_VERSION))
success ("gnutls_check_version ERROR\n");