summaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa_vrf.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-04-23 15:01:15 +0000
committerBen Laurie <ben@openssl.org>1999-04-23 15:01:15 +0000
commit61f5b6f33807306d09bccbc2dcad474d1d04ca40 (patch)
tree1680fa648df5f730df11ec433a512a1fadf0facd /crypto/dsa/dsa_vrf.c
parent779cc0bca98e35830db455f34b986b86a2d2f822 (diff)
Work with -pedantic!
Diffstat (limited to 'crypto/dsa/dsa_vrf.c')
-rw-r--r--crypto/dsa/dsa_vrf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/dsa/dsa_vrf.c b/crypto/dsa/dsa_vrf.c
index 24ede6762e..ca51ad2e5c 100644
--- a/crypto/dsa/dsa_vrf.c
+++ b/crypto/dsa/dsa_vrf.c
@@ -66,7 +66,8 @@
#include "asn1.h"
#include "asn1_mac.h"
-int DSA_do_verify(unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)
+int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig,
+ DSA *dsa)
{
BN_CTX *ctx;
BIGNUM u1,u2,t1;
@@ -143,7 +144,7 @@ int DSA_do_verify(unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)
* 0: incorrect signature
* -1: error
*/
-int DSA_verify(int type, unsigned char *dgst, int dgst_len,
+int DSA_verify(int type, const unsigned char *dgst, int dgst_len,
unsigned char *sigbuf, int siglen, DSA *dsa)
{
DSA_SIG *s;