From 6ec9c1ad53e62fcc3d86d5e9be4f17bf647931ea Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 21 Apr 2021 00:31:59 +0000 Subject: [PATCH] Fix const in previous. Pointed out by asou --- usr.bin/openssl/ecparam.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/openssl/ecparam.c b/usr.bin/openssl/ecparam.c index 35b157c3844..611eef314d5 100644 --- a/usr.bin/openssl/ecparam.c +++ b/usr.bin/openssl/ecparam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecparam.c,v 1.19 2021/04/20 17:08:08 tb Exp $ */ +/* $OpenBSD: ecparam.c,v 1.20 2021/04/21 00:31:59 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -87,10 +87,10 @@ #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 *); +int EC_GROUP_get_curve_GF2m(const EC_GROUP *, BIGNUM *, BIGNUM *, BIGNUM *, + BN_CTX *); +int EC_GROUP_get_curve_GFp(const EC_GROUP *, BIGNUM *, BIGNUM *, BIGNUM *, + BN_CTX *); static int ecparam_print_var(BIO *, BIGNUM *, const char *, int, unsigned char *); -- 2.20.1