Avoid unused vars when VE_ECDSA_HASH_AGAIN undefined
Reviewed by: emaste MFC after: 1 week
This commit is contained in:
parent
9449898858
commit
0e47020f7f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355962
@ -642,9 +642,10 @@ hexdigest(char *buf, size_t bufsz, unsigned char *foo, size_t foo_len)
|
|||||||
static unsigned char *
|
static unsigned char *
|
||||||
verify_ec(br_x509_pkey *pk, const char *file, const char *sigfile)
|
verify_ec(br_x509_pkey *pk, const char *file, const char *sigfile)
|
||||||
{
|
{
|
||||||
char hexbuf[br_sha512_SIZE * 2 + 2];
|
#ifdef VE_ECDSA_HASH_AGAIN
|
||||||
|
char *hex, hexbuf[br_sha512_SIZE * 2 + 2];
|
||||||
|
#endif
|
||||||
unsigned char rhbuf[br_sha512_SIZE];
|
unsigned char rhbuf[br_sha512_SIZE];
|
||||||
char *hex;
|
|
||||||
br_sha256_context ctx;
|
br_sha256_context ctx;
|
||||||
unsigned char *fcp, *scp;
|
unsigned char *fcp, *scp;
|
||||||
size_t flen, slen, plen;
|
size_t flen, slen, plen;
|
||||||
|
Loading…
Reference in New Issue
Block a user