diff options
author | David Asraf <dasraf9@gmail.com> | 2019-02-07 11:51:39 +0200 |
---|---|---|
committer | Nicola Tuveri <nic.tuv@gmail.com> | 2019-02-15 16:43:18 +0200 |
commit | fa1f03061037cbdac5369849a885c1191a2550d9 (patch) | |
tree | 06b371795d89501717698c4a6f5cadf38666d182 /crypto/ec/ec_lib.c | |
parent | 48fe4ce104df060dd5d2b4188a56eb554d94d819 (diff) | |
download | openssl-fa1f03061037cbdac5369849a885c1191a2550d9.tar.gz |
Add EC_GROUP_get0_field
New function to return internal pointer for field.
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8195)
Diffstat (limited to 'crypto/ec/ec_lib.c')
-rw-r--r-- | crypto/ec/ec_lib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c index c14d1a114e..2623b5377f 100644 --- a/crypto/ec/ec_lib.c +++ b/crypto/ec/ec_lib.c @@ -364,6 +364,11 @@ int EC_GROUP_get_curve_name(const EC_GROUP *group) return group->curve_name; } +const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group) +{ + return group->field; +} + void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag) { group->asn1_flag = flag; |