more const
[openssl.git] / crypto / ecdsa / ecs_ossl.c
index 61125b282f35a6bc2e40a2ea647685ae0f069d29..79e2cd7e772d42b195d765eb25fafec9fe3b23d6 100644 (file)
@@ -66,7 +66,7 @@ static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dlen,
 static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, 
                BIGNUM **rp);
 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len, 
-               ECDSA_SIG *sig, EC_KEY *eckey);
+               const ECDSA_SIG *sig, EC_KEY *eckey);
 
 static ECDSA_METHOD openssl_ecdsa_meth = {
        "OpenSSL ECDSA method",
@@ -320,7 +320,7 @@ err:
 }
 
 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len,
-               ECDSA_SIG *sig, EC_KEY *eckey)
+               const ECDSA_SIG *sig, EC_KEY *eckey)
 {
        int ret = -1;
        BN_CTX   *ctx;