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:
fc6f579
)
Use OPENSSL_EC_EXPLICIT_CURVE constant.
author
David Benjamin
<davidben@google.com>
Sun, 20 May 2018 18:37:06 +0000
(14:37 -0400)
committer
David Benjamin
<davidben@google.com>
Wed, 23 May 2018 21:32:41 +0000
(17:32 -0400)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6314)
crypto/ec/ec_asn1.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_asn1.c
b/crypto/ec/ec_asn1.c
index 2ce4d160f8dccbdf07eb09f8ab9a820e7bb67212..33c4c230054bcd4efd54d5d54eac2e5456c28bd7 100644
(file)
--- 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 {