aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/elgamal.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-06-15 15:41:04 +0000
committerWerner Koch <[email protected]>1998-06-15 15:41:04 +0000
commit6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2 (patch)
tree7c4a888893a91b59753b3d89e59832f8c24ba039 /cipher/elgamal.c
parentgnupg extension are now working (diff)
downloadgnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.tar.gz
gnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.zip
extensions are now working and fixed a lot of bugs
Diffstat (limited to '')
-rw-r--r--cipher/elgamal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/elgamal.c b/cipher/elgamal.c
index b37c756cf..bcaaa20ba 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;