From 5fa462d5a640af81d77ffacca45a3bd652580974 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 23 Apr 2024 10:52:08 +0000 Subject: [PATCH] One empty line is enough --- lib/libcrypto/ec/ec_lib.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/lib/libcrypto/ec/ec_lib.c b/lib/libcrypto/ec/ec_lib.c index dff41245800..85567a76c11 100644 --- a/lib/libcrypto/ec/ec_lib.c +++ b/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.66 2024/04/10 15:01:31 beck Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.67 2024/04/23 10:52:08 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -112,7 +112,6 @@ EC_GROUP_new(const EC_METHOD *meth) } LCRYPTO_ALIAS(EC_GROUP_new); - void EC_GROUP_free(EC_GROUP *group) { @@ -188,12 +187,10 @@ EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) dest->seed_len = 0; } - return dest->meth->group_copy(dest, src); } LCRYPTO_ALIAS(EC_GROUP_copy); - EC_GROUP * EC_GROUP_dup(const EC_GROUP *a) { @@ -208,7 +205,6 @@ EC_GROUP_dup(const EC_GROUP *a) } LCRYPTO_ALIAS(EC_GROUP_dup); - const EC_METHOD * EC_GROUP_method_of(const EC_GROUP *group) { @@ -216,7 +212,6 @@ EC_GROUP_method_of(const EC_GROUP *group) } LCRYPTO_ALIAS(EC_GROUP_method_of); - int EC_METHOD_get_field_type(const EC_METHOD *meth) { @@ -358,7 +353,6 @@ EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, } LCRYPTO_ALIAS(EC_GROUP_set_generator); - const EC_POINT * EC_GROUP_get0_generator(const EC_GROUP *group) { @@ -399,7 +393,6 @@ EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx) } LCRYPTO_ALIAS(EC_GROUP_get_cofactor); - void EC_GROUP_set_curve_name(EC_GROUP *group, int nid) { @@ -407,7 +400,6 @@ EC_GROUP_set_curve_name(EC_GROUP *group, int nid) } LCRYPTO_ALIAS(EC_GROUP_set_curve_name); - int EC_GROUP_get_curve_name(const EC_GROUP *group) { @@ -415,7 +407,6 @@ EC_GROUP_get_curve_name(const EC_GROUP *group) } LCRYPTO_ALIAS(EC_GROUP_get_curve_name); - void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag) { @@ -423,7 +414,6 @@ EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag) } LCRYPTO_ALIAS(EC_GROUP_set_asn1_flag); - int EC_GROUP_get_asn1_flag(const EC_GROUP *group) { @@ -431,7 +421,6 @@ EC_GROUP_get_asn1_flag(const EC_GROUP *group) } LCRYPTO_ALIAS(EC_GROUP_get_asn1_flag); - void EC_GROUP_set_point_conversion_form(EC_GROUP *group, point_conversion_form_t form) @@ -440,7 +429,6 @@ EC_GROUP_set_point_conversion_form(EC_GROUP *group, } LCRYPTO_ALIAS(EC_GROUP_set_point_conversion_form); - point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP *group) { @@ -448,7 +436,6 @@ EC_GROUP_get_point_conversion_form(const EC_GROUP *group) } LCRYPTO_ALIAS(EC_GROUP_get_point_conversion_form); - size_t EC_GROUP_set_seed(EC_GROUP *group, const unsigned char *p, size_t len) { @@ -469,7 +456,6 @@ EC_GROUP_set_seed(EC_GROUP *group, const unsigned char *p, size_t len) } LCRYPTO_ALIAS(EC_GROUP_set_seed); - unsigned char * EC_GROUP_get0_seed(const EC_GROUP *group) { @@ -477,7 +463,6 @@ EC_GROUP_get0_seed(const EC_GROUP *group) } LCRYPTO_ALIAS(EC_GROUP_get0_seed); - size_t EC_GROUP_get_seed_len(const EC_GROUP *group) { @@ -564,7 +549,6 @@ EC_GROUP_get_degree(const EC_GROUP *group) } LCRYPTO_ALIAS(EC_GROUP_get_degree); - int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx_in) { @@ -590,7 +574,6 @@ EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx_in) } LCRYPTO_ALIAS(EC_GROUP_check_discriminant); - int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx) { -- 2.20.1