From: Nils Larsch Date: Sat, 3 Sep 2005 08:01:08 +0000 (+0000) Subject: fix function name in error X-Git-Tag: OpenSSL_0_9_8k^2~1820 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=137023dd0cc8a2c3a98d10093ec9f02ba6fe21d4;p=oweals%2Fopenssl.git fix function name in error --- diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index a19a075b0d..45c259de6f 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -435,7 +435,7 @@ void ERR_load_EC_strings(void); #define EC_F_EC_GROUP_PRECOMPUTE_MULT 142 #define EC_F_EC_GROUP_SET_CURVE_GF2M 176 #define EC_F_EC_GROUP_SET_CURVE_GFP 109 -#define EC_F_EC_GROUP_SET_EXTRA_DATA 110 +#define EC_F_EC_EX_DATA_SET_DATA 110 #define EC_F_EC_GROUP_SET_GENERATOR 111 #define EC_F_EC_KEY_CHECK_KEY 177 #define EC_F_EC_KEY_COPY 178 diff --git a/crypto/ec/ec_err.c b/crypto/ec/ec_err.c index 73c0055f01..86b58271f4 100644 --- a/crypto/ec/ec_err.c +++ b/crypto/ec/ec_err.c @@ -138,7 +138,7 @@ static ERR_STRING_DATA EC_str_functs[]= {ERR_FUNC(EC_F_EC_GROUP_PRECOMPUTE_MULT), "EC_GROUP_precompute_mult"}, {ERR_FUNC(EC_F_EC_GROUP_SET_CURVE_GF2M), "EC_GROUP_set_curve_GF2m"}, {ERR_FUNC(EC_F_EC_GROUP_SET_CURVE_GFP), "EC_GROUP_set_curve_GFp"}, -{ERR_FUNC(EC_F_EC_GROUP_SET_EXTRA_DATA), "EC_GROUP_set_extra_data"}, +{ERR_FUNC(EC_F_EC_EX_DATA_SET_DATA), "EC_EX_DATA_set_data"}, {ERR_FUNC(EC_F_EC_GROUP_SET_GENERATOR), "EC_GROUP_set_generator"}, {ERR_FUNC(EC_F_EC_KEY_CHECK_KEY), "EC_KEY_check_key"}, {ERR_FUNC(EC_F_EC_KEY_COPY), "EC_KEY_copy"}, diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c index 3c6967ae15..a987d8985d 100644 --- a/crypto/ec/ec_lib.c +++ b/crypto/ec/ec_lib.c @@ -558,7 +558,7 @@ int EC_EX_DATA_set_data(EC_EXTRA_DATA **ex_data, void *data, { if (d->dup_func == dup_func && d->free_func == free_func && d->clear_free_func == clear_free_func) { - ECerr(EC_F_EC_GROUP_SET_EXTRA_DATA, EC_R_SLOT_FULL); + ECerr(EC_F_EC_EX_DATA_SET_DATA, EC_R_SLOT_FULL); return 0; } }