summaryrefslogtreecommitdiffstats
path: root/crypto/ecdsa/ecdsa.h
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-04-22 21:57:36 +0000
committerNils Larsch <nils@openssl.org>2005-04-22 21:57:36 +0000
commita0bee97e55132111a93033226a2b5adb8df5db26 (patch)
tree490db84a87dd85f1acf567de515a161b965de13d /crypto/ecdsa/ecdsa.h
parente7076c5a8006fcb3ac6514b0ba1300da3e1f3823 (diff)
more const
Diffstat (limited to 'crypto/ecdsa/ecdsa.h')
-rw-r--r--crypto/ecdsa/ecdsa.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ecdsa/ecdsa.h b/crypto/ecdsa/ecdsa.h
index e6081bb2af..b0167fa5e2 100644
--- a/crypto/ecdsa/ecdsa.h
+++ b/crypto/ecdsa/ecdsa.h
@@ -92,7 +92,7 @@ struct ecdsa_method
int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
BIGNUM **r);
int (*ecdsa_do_verify)(const unsigned char *dgst, int dgst_len,
- ECDSA_SIG *sig, EC_KEY *eckey);
+ const ECDSA_SIG *sig, EC_KEY *eckey);
#if 0
int (*init)(EC_KEY *eckey);
int (*finish)(EC_KEY *eckey);
@@ -191,8 +191,8 @@ ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
* \param eckey pointer to the EC_KEY object containing a public EC key
* \return 1 if the signature is valid, 0 if the signature is invalid and -1 on error
*/
-int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, ECDSA_SIG
- *sig, EC_KEY* eckey);
+int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
+ const ECDSA_SIG *sig, EC_KEY* eckey);
const ECDSA_METHOD *ECDSA_OpenSSL(void);