From e3361c9ce174f0d450106f9065b6bc9112da5e42 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 20 Apr 2021 17:08:08 +0000 Subject: [PATCH] Add prototypes for EC_GROUP_get_curve_{GF2m,GFp}(). These will be removed once EC_GROUP_get_curve() is public. --- usr.bin/openssl/ecparam.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.bin/openssl/ecparam.c b/usr.bin/openssl/ecparam.c index 7bacd37ec51..35b157c3844 100644 --- a/usr.bin/openssl/ecparam.c +++ b/usr.bin/openssl/ecparam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecparam.c,v 1.18 2019/07/14 03:30:45 guenther Exp $ */ +/* $OpenBSD: ecparam.c,v 1.19 2021/04/20 17:08:08 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -87,6 +87,11 @@ #include #include +int EC_GROUP_get_curve_GF2m(EC_GROUP *, const BIGNUM *, const BIGNUM *, + const BIGNUM *, BN_CTX *); +int EC_GROUP_get_curve_GFp(EC_GROUP *, const BIGNUM *, const BIGNUM *, + const BIGNUM *, BN_CTX *); + static int ecparam_print_var(BIO *, BIGNUM *, const char *, int, unsigned char *); -- 2.20.1