diff options
author | tb <> | 2021-04-20 17:08:08 +0000 |
---|---|---|
committer | tb <> | 2021-04-20 17:08:08 +0000 |
commit | 0f9edd86ce5517238a8c770fe1e0acffc1ff6fd1 (patch) | |
tree | 0a0f46e9fa5939df1ced51d062bb2dae447845e1 /src | |
parent | 215e6da0cd80325338e1d9f1be083de5f08c3fe6 (diff) | |
download | openbsd-0f9edd86ce5517238a8c770fe1e0acffc1ff6fd1.tar.gz openbsd-0f9edd86ce5517238a8c770fe1e0acffc1ff6fd1.tar.bz2 openbsd-0f9edd86ce5517238a8c770fe1e0acffc1ff6fd1.zip |
Add prototypes for EC_GROUP_get_curve_{GF2m,GFp}().
These will be removed once EC_GROUP_get_curve() is public.
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.bin/openssl/ecparam.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/ecparam.c b/src/usr.bin/openssl/ecparam.c index 7bacd37ec5..35b157c384 100644 --- a/src/usr.bin/openssl/ecparam.c +++ b/src/usr.bin/openssl/ecparam.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecparam.c,v 1.18 2019/07/14 03:30:45 guenther Exp $ */ | 1 | /* $OpenBSD: ecparam.c,v 1.19 2021/04/20 17:08:08 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -87,6 +87,11 @@ | |||
87 | #include <openssl/pem.h> | 87 | #include <openssl/pem.h> |
88 | #include <openssl/x509.h> | 88 | #include <openssl/x509.h> |
89 | 89 | ||
90 | int EC_GROUP_get_curve_GF2m(EC_GROUP *, const BIGNUM *, const BIGNUM *, | ||
91 | const BIGNUM *, BN_CTX *); | ||
92 | int EC_GROUP_get_curve_GFp(EC_GROUP *, const BIGNUM *, const BIGNUM *, | ||
93 | const BIGNUM *, BN_CTX *); | ||
94 | |||
90 | static int ecparam_print_var(BIO *, BIGNUM *, const char *, int, | 95 | static int ecparam_print_var(BIO *, BIGNUM *, const char *, int, |
91 | unsigned char *); | 96 | unsigned char *); |
92 | 97 | ||