884b8c42d3
svn path=/nixpkgs/trunk/; revision=12836
15 lines
411 B
Diff
15 lines
411 B
Diff
This patch fixes the `openssl' test.
|
|
See http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3050 .
|
|
|
|
--- a/tests/openssl.c
|
|
+++ b/tests/openssl.c
|
|
@@ -36,5 +36,8 @@ 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");
|