summaryrefslogtreecommitdiff
path: root/cipher/elgamal.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-06-15 15:41:03 +0000
committerWerner Koch <wk@gnupg.org>1998-06-15 15:41:03 +0000
commit91d9566516ffa468ebd1034f32f927d8864b1998 (patch)
tree514c963caac5144ebb1f54a4c451c3ecfebdd737 /cipher/elgamal.c
parent9af004db0eb1d5585d8267fb45e08ba81738093c (diff)
downloadlibgcrypt-91d9566516ffa468ebd1034f32f927d8864b1998.tar.gz
extensions are now working and fixed a lot of bugs
Diffstat (limited to 'cipher/elgamal.c')
-rw-r--r--cipher/elgamal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/elgamal.c b/cipher/elgamal.c
index b37c756c..bcaaa20b 100644
--- a/cipher/elgamal.c
+++ b/cipher/elgamal.c
@@ -476,7 +476,8 @@ elg_sign( int algo, MPI *resarr, MPI data, MPI *skey )
}
int
-elg_verify( int algo, MPI hash, MPI *data, MPI *pkey )
+elg_verify( int algo, MPI hash, MPI *data, MPI *pkey,
+ int (*cmp)(void *, MPI), void *opaquev )
{
ELG_public_key pk;