diff options
author | Todd Short <tshort@akamai.com> | 2018-03-19 14:22:56 -0400 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-03-19 18:49:19 +0000 |
commit | 27df4597316c28a03c73bacb4095e86e41da65bb (patch) | |
tree | 8e9f6a5807148d228da63d6c7a1580f3ef15ee6e /crypto | |
parent | 98020023a46e4c32a468bf16e826da09e5547d37 (diff) |
Fix no-sm3/no-sm2 (with strict-warnings)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5677)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ec/ec_curve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ec/ec_curve.c b/crypto/ec/ec_curve.c index 46cbe22e05..851e6a4981 100644 --- a/crypto/ec/ec_curve.c +++ b/crypto/ec/ec_curve.c @@ -2751,6 +2751,7 @@ static const struct { } }; +#ifndef OPENSSL_NO_SM2 static const struct { EC_CURVE_DATA h; unsigned char data[0 + 32 * 6]; @@ -2787,6 +2788,7 @@ static const struct { 0x53, 0xbb, 0xf4, 0x09, 0x39, 0xd5, 0x41, 0x23, } }; +#endif /* OPENSSL_NO_SM2 */ typedef struct _ec_list_element_st { int nid; |