diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-08-10 16:36:37 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-08-10 16:48:47 +0100 |
commit | ed5c7ea250657796517fef035e162b20eb8d3c7f (patch) | |
tree | 260ead9836835b044a311545e0b0b346a2df6fb3 /test/bntest.c | |
parent | 1aee92bf0f3fe243192fb5440f7c9789d5a08c67 (diff) |
no-ec2m fixes
Fix warning and don't use binary field certificate for ECDH CMS
key only test.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4134)
Diffstat (limited to 'test/bntest.c')
-rw-r--r-- | test/bntest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bntest.c b/test/bntest.c index 4dae6601c2..ca0b8e3648 100644 --- a/test/bntest.c +++ b/test/bntest.c @@ -59,9 +59,10 @@ static BN_CTX *ctx; /* * Polynomial coefficients used in GFM tests. */ +#ifndef OPENSSL_NO_EC2M static int p0[] = { 163, 7, 6, 3, 0, -1 }; static int p1[] = { 193, 15, 0, -1 }; - +#endif /* * Look for |key| in the stanza and return it or NULL if not found. |