projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9802002
)
Fix no-sm3/no-sm2 (with strict-warnings)
author
Todd Short
<tshort@akamai.com>
Mon, 19 Mar 2018 18:22:56 +0000
(14:22 -0400)
committer
Matt Caswell
<matt@openssl.org>
Mon, 19 Mar 2018 18:49:19 +0000
(18:49 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5677)
crypto/ec/ec_curve.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_curve.c
b/crypto/ec/ec_curve.c
index 46cbe22e0593acc4e61d793885206821d42c9c35..851e6a49812cc81cad04fe1655c7837f87caa850 100644
(file)
--- 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;