aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/dsa.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-10-12 20:16:38 +0000
committerWerner Koch <[email protected]>1998-10-12 20:16:38 +0000
commit8477407e794951c686e3afe1d13035abd0153d9f (patch)
treea062f99923861fe7c55d5cc2ff3cf04daba8c8e0 /cipher/dsa.c
parenta new release (diff)
downloadgnupg-8477407e794951c686e3afe1d13035abd0153d9f.tar.gz
gnupg-8477407e794951c686e3afe1d13035abd0153d9f.zip
backup
Diffstat (limited to 'cipher/dsa.c')
-rw-r--r--cipher/dsa.c1
1 files changed, 1 insertions, 0 deletions
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;