summaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-12 22:16:38 +0200
committerWerner Koch <wk@gnupg.org>1998-10-12 22:16:38 +0200
commit8477407e794951c686e3afe1d13035abd0153d9f (patch)
treea062f99923861fe7c55d5cc2ff3cf04daba8c8e0 /cipher
parenta new release (diff)
downloadgnupg2-8477407e794951c686e3afe1d13035abd0153d9f.tar.xz
gnupg2-8477407e794951c686e3afe1d13035abd0153d9f.zip
backup
Diffstat (limited to 'cipher')
-rw-r--r--cipher/ChangeLog4
-rw-r--r--cipher/Makefile.am4
-rw-r--r--cipher/dsa.c1
-rw-r--r--cipher/md.c2
4 files changed, 8 insertions, 3 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index ad6a76a37..ddd34b65c 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,7 @@
+1998-10-10 SL Baur <steve@altair.xemacs.org>
+
+ * Makefile.am: fix sed -O substitutions to catch -O6, etc.
+
Tue Oct 6 10:06:32 1998 Werner Koch (wk@isil.d.shuttle.de)
* rand-unix.c (HAVE_GETTIMEOFDAY): Fixed (was ..GETTIMEOFTIME :-)
diff --git a/cipher/Makefile.am b/cipher/Makefile.am
index 26c625dcb..298e0f32d 100644
--- a/cipher/Makefile.am
+++ b/cipher/Makefile.am
@@ -49,11 +49,11 @@ EXTRA_twofish_SOURCES = twofish.c
tiger: $(srcdir)/tiger.c
`echo $(COMPILE) -shared -fPIC -lc -o tiger $(srcdir)/tiger.c | \
- sed -e 's/-O2/-O1/' `
+ sed -e 's/-O[2-9]*/-O1/' `
twofish: $(srcdir)/twofish.c
`echo $(COMPILE) -shared -fPIC -lc -o twofish $(srcdir)/twofish.c | \
- sed -e 's/-O2/ /' `
+ sed -e 's/-O[0-9]*/ /' `
install-exec-hook:
diff --git a/cipher/dsa.c b/cipher/dsa.c
index accbca9e8..2d5c17344 100644
--- a/cipher/dsa.c
+++ b/cipher/dsa.c
@@ -293,6 +293,7 @@ verify(MPI r, MPI s, MPI hash, DSA_public_key *pkey )
/* u2 = r * w mod q */
mpi_mulm( u2, r, w, pkey->q );
+
/* v = g^u1 * y^u2 mod p mod q */
base[0] = pkey->g; exp[0] = u1;
base[1] = pkey->y; exp[1] = u2;
diff --git a/cipher/md.c b/cipher/md.c
index 0ec6d6067..819cc1d08 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -495,7 +495,7 @@ md_stop_debug( MD_HANDLE md )
#ifdef HAVE_U64_TYPEDEF
{ /* a kludge to pull in the __muldi3 for Solaris */
volatile u32 a = (u32)(ulong)md;
- volatile u32 b = 42;
+ volatile u64 b = 42;
volatile u64 c;
c = a * b;
}