X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fecdsa%2Fecs_vrf.c;h=ef9acf7b610284d697bcea815061ef29a67fce0e;hb=244ed51a0dad5f52233b46be716defcfe7bc77ff;hp=269671bec87cc4a9834631f15c1eeb72f3eb98d8;hpb=14a7cfb32a0347a4bc620ae1b552b21c4c1e270b;p=oweals%2Fopenssl.git diff --git a/crypto/ecdsa/ecs_vrf.c b/crypto/ecdsa/ecs_vrf.c index 269671bec8..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,8 +56,10 @@ * */ -#include "ecdsa.h" +#include "ecs_locl.h" +#ifndef OPENSSL_NO_ENGINE #include +#endif /* returns * 1: correct signature @@ -62,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)