Hello community,

here is the log from the commit of package libgcrypt for openSUSE:Factory 
checked in at 2014-05-17 22:01:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgcrypt (Old)
 and      /work/SRC/openSUSE:Factory/.libgcrypt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgcrypt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgcrypt/libgcrypt.changes      2014-05-12 
09:28:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libgcrypt.new/libgcrypt.changes 2014-05-17 
22:01:41.000000000 +0200
@@ -1,0 +2,7 @@
+Tue May 13 10:47:51 UTC 2014 - [email protected]
+
+- add new 0007-User-interface-to-DRBG.patch from upstream
+  * fixes bnc#877233
+  * supersedes the patch from previous entry
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ 0007-User-interface-to-DRBG.patch ++++++
--- /var/tmp/diff_new_pack.2yypxV/_old  2014-05-17 22:01:42.000000000 +0200
+++ /var/tmp/diff_new_pack.2yypxV/_new  2014-05-17 22:01:42.000000000 +0200
@@ -1,11 +1,12 @@
 Changes v4:
 
- * add fail_seed_source to struct drbg_test_data
+ * add explicit type casting from void to unsigned char as reported
+   in https://bugzilla.novell.com/show_bug.cgi?id=877233
 
-Signed-off-by: Stephan Mueller <[email protected]>
+Signed-off-by: Stephan Mueller <smueller at chronox.de>
 ---
 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);
@@ -147,7 +148,7 @@
 +/* DRBG input data structure for DRBG generate with additional information
 + * string */
 +struct drbg_gen {
-+      void *outbuf;   /* output buffer for random numbers */
++      unsigned char *outbuf;  /* output buffer for random numbers */
 +      unsigned int outlen;    /* size of output buffer */
 +      struct drbg_string *addtl;      /* input buffer for
 +                                       * additional information string */
@@ -185,7 +186,7 @@
 +                                     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 @@
 +                                          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;


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to