diff options
| author | tb <> | 2021-04-20 17:08:08 +0000 | 
|---|---|---|
| committer | tb <> | 2021-04-20 17:08:08 +0000 | 
| commit | bdaa51be86a9fa45ea2fa110effcc14140e86577 (patch) | |
| tree | 0a0f46e9fa5939df1ced51d062bb2dae447845e1 /src/usr.bin/openssl/ecparam.c | |
| parent | 1d31ab59178273d888833f7482ab2453f3f52600 (diff) | |
| download | openbsd-bdaa51be86a9fa45ea2fa110effcc14140e86577.tar.gz openbsd-bdaa51be86a9fa45ea2fa110effcc14140e86577.tar.bz2 openbsd-bdaa51be86a9fa45ea2fa110effcc14140e86577.zip | |
Add prototypes for EC_GROUP_get_curve_{GF2m,GFp}().
These will be removed once EC_GROUP_get_curve() is public.
Diffstat (limited to '')
| -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 | ||
