summaryrefslogtreecommitdiff
path: root/security/libgcrypt
diff options
context:
space:
mode:
authorshannonjr <shannonjr>2008-10-29 10:24:09 +0000
committershannonjr <shannonjr>2008-10-29 10:24:09 +0000
commit2df3416a464865e1b0404453e34b008334585508 (patch)
tree41fc66a8b7b7aa996cdb6e8a3a7cd092eb42019f /security/libgcrypt
parent1768af45551abf4b594c7aaad838d46c9e6e0d68 (diff)
downloadpkgsrc-2df3416a464865e1b0404453e34b008334585508.tar.gz
"return _gcry_rngfips_deinit_external_test (context);"
is incorrect because: 1) _gcry_rngfips_deinit_external_test() is void function 2) the calling function, random, is declared void The unpatched code will not compile with Sun compiler.
Diffstat (limited to 'security/libgcrypt')
-rw-r--r--security/libgcrypt/patches/patch-ag11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/libgcrypt/patches/patch-ag b/security/libgcrypt/patches/patch-ag
new file mode 100644
index 00000000000..0a8103777e2
--- /dev/null
+++ b/security/libgcrypt/patches/patch-ag
@@ -0,0 +1,11 @@
+$NetBSD: patch-ag,v 1.4 2008/10/29 10:24:09 shannonjr Exp $
+
+--- random/random.c.orig 2008-09-16 12:35:22.000000000 -0600
++++ random/random.c
+@@ -319,5 +319,5 @@ void
+ _gcry_random_deinit_external_test (void *context)
+ {
+ if (fips_mode ())
+- return _gcry_rngfips_deinit_external_test (context);
++ _gcry_rngfips_deinit_external_test (context);
+ }