https://bugzilla.novell.com/show_bug.cgi?id=877233
https://bugzilla.novell.com/show_bug.cgi?id=877233#c4
--- Comment #4 from Stephan Müller 2014-05-13 00:36:57 UTC ---
Created an attachment (id=589603)
--> (http://bugzilla.novell.com/attachment.cgi?id=589603)
New patch for libgcrypt src/gcrypt.h.in
This patch is a new version of the patch for src/gcrypt.h.in to add the
interface for the DRBG. It provides the following differences to the existing
patch:
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in
-index c84a3f7..2a17dcd 100644
+index c84a3f7..569d7a0 100644
--- a/src/gcrypt.h.in
+++ b/src/gcrypt.h.in
@@ -193,7 +193,7 @@ gcry_error_t gcry_err_make_from_errno (gcry_err_source_t
source, int err);
@@ -185,7 +186,7 @@ index c84a3f7..2a17dcd 100644
+ struct drbg_string *addtl)
+{
+ struct drbg_gen genbuf;
-+ genbuf.outbuf = outbuf;
++ genbuf.outbuf = (unsigned char *)outbuf;
+ genbuf.outlen = outlen;
+ genbuf.addtl = addtl;
+ genbuf.test_data = NULL;
@@ -199,7 +200,7 @@ index c84a3f7..2a17dcd 100644
+ struct drbg_test_data *test_data)
+{
+ struct drbg_gen genbuf;
-+ genbuf.outbuf = outbuf;
++ genbuf.outbuf = (unsigned char *)outbuf;
+ genbuf.outlen = outlen;
+ genbuf.addtl = addtl;
+ genbuf.test_data = test_data;
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.