pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libgcrypt/patches "return _gcry_rngfips_deini...
details: https://anonhg.NetBSD.org/pkgsrc/rev/324579a050c2
branches: trunk
changeset: 549199:324579a050c2
user: shannonjr <shannonjr%pkgsrc.org@localhost>
date: Wed Oct 29 10:24:09 2008 +0000
description:
"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:
security/libgcrypt/patches/patch-ag | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 7479d269e23f -r 324579a050c2 security/libgcrypt/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libgcrypt/patches/patch-ag Wed Oct 29 10:24:09 2008 +0000
@@ -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);
+ }
Home |
Main Index |
Thread Index |
Old Index