Some fixes

Stephan Austermuehle au@hcsd.de
Thu, 25 Jul 2002 15:48:56 +0200


--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

Okay, libgcrypt 1.1.8 passes tests on HP-UX 11.00 using HP's ANSI C
compiler with the append patch. It'd be nice to see these pretty
simple changes it in the CVS.

Stephan


--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libgcrypt-1.1.8-hpux-11.00.patch"

diff -u --recursive libgcrypt-1.1.8.orig/cipher/rndunix.c libgcrypt-1.1.8/cipher/rndunix.c
--- libgcrypt-1.1.8.orig/cipher/rndunix.c	2002-02-18 12:52:42.000000000 +0100
+++ libgcrypt-1.1.8/cipher/rndunix.c	2002-07-25 15:09:57.000000000 +0200
@@ -907,7 +907,7 @@
 
 #ifndef IS_MODULE
 void
-rndunix_constructor(void)
+_gcry_rndunix_constructor(void)
 {
   _gcry_register_internal_cipher_extension (gnupgext_version,
                                             gnupgext_enum_func);
--- libgcrypt-1.1.8.orig/src/stdmem.c	2002-05-14 11:18:24.000000000 +0200
+++ libgcrypt-1.1.8/src/stdmem.c	2002-07-24 14:51:24.000000000 +0200
@@ -116,7 +116,7 @@
 {
     if( use_m_guard ) {
 	unsigned char *p = a;
-	void *b;
+	char *b;
 	size_t len;
 
         if (!a)

--82I3+IH0IqGh5yIs--