summaryrefslogtreecommitdiff
path: root/crypto/ecdsa/ecs_vrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ecdsa/ecs_vrf.c')
-rw-r--r--crypto/ecdsa/ecs_vrf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/crypto/ecdsa/ecs_vrf.c b/crypto/ecdsa/ecs_vrf.c
index 15a6ab49f9..ef9acf7b61 100644
--- a/crypto/ecdsa/ecs_vrf.c
+++ b/crypto/ecdsa/ecs_vrf.c
@@ -1,4 +1,7 @@
/* crypto/ecdsa/ecdsa_vrf.c */
+/*
+ * Written by Nils Larsch for the OpenSSL project
+ */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
@@ -53,7 +56,7 @@
*
*/
-#include "ecdsa.h"
+#include "ecs_locl.h"
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
@@ -64,7 +67,7 @@
* -1: error
*/
int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
- ECDSA_SIG *sig, EC_KEY *eckey)
+ const ECDSA_SIG *sig, EC_KEY *eckey)
{
ECDSA_DATA *ecdsa = ecdsa_check(eckey);
if (ecdsa == NULL)