diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/dsa/dsa_vrf.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'crypto/dsa/dsa_vrf.c')
-rw-r--r-- | crypto/dsa/dsa_vrf.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/crypto/dsa/dsa_vrf.c b/crypto/dsa/dsa_vrf.c index 3b74c81a57..24ede6762e 100644 --- a/crypto/dsa/dsa_vrf.c +++ b/crypto/dsa/dsa_vrf.c @@ -66,11 +66,7 @@ #include "asn1.h" #include "asn1_mac.h" -int DSA_do_verify(dgst,dgst_len,sig,dsa) -unsigned char *dgst; -int dgst_len; -DSA_SIG *sig; -DSA *dsa; +int DSA_do_verify(unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa) { BN_CTX *ctx; BIGNUM u1,u2,t1; @@ -147,13 +143,8 @@ DSA *dsa; * 0: incorrect signature * -1: error */ -int DSA_verify(type,dgst,dgst_len,sigbuf,siglen,dsa) -int type; -unsigned char *dgst; -int dgst_len; -unsigned char *sigbuf; -int siglen; -DSA *dsa; +int DSA_verify(int type, unsigned char *dgst, int dgst_len, + unsigned char *sigbuf, int siglen, DSA *dsa) { DSA_SIG *s; int ret=-1; |