From: tb Date: Tue, 20 Apr 2021 17:08:08 +0000 (+0000) Subject: Add prototypes for EC_GROUP_get_curve_{GF2m,GFp}(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e3361c9ce174f0d450106f9065b6bc9112da5e42;p=openbsd Add prototypes for EC_GROUP_get_curve_{GF2m,GFp}(). These will be removed once EC_GROUP_get_curve() is public. --- 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 *);