From e363534cfe0ae01503dde6963e0631ec5f7fef3f Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sun, 20 May 2018 14:37:06 -0400 Subject: [PATCH] Use OPENSSL_EC_EXPLICIT_CURVE constant. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6314) --- crypto/ec/ec_asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c index 2ce4d160f8..33c4c23005 100644 --- a/crypto/ec/ec_asn1.c +++ b/crypto/ec/ec_asn1.c @@ -841,7 +841,7 @@ EC_GROUP *EC_GROUP_new_from_ecpkparameters(const ECPKPARAMETERS *params) ECerr(EC_F_EC_GROUP_NEW_FROM_ECPKPARAMETERS, ERR_R_EC_LIB); return NULL; } - EC_GROUP_set_asn1_flag(ret, 0x0); + EC_GROUP_set_asn1_flag(ret, OPENSSL_EC_EXPLICIT_CURVE); } else if (params->type == 2) { /* implicitlyCA */ return NULL; } else { -- 2.25.1