Commit f72ed615 authored by Bodo Möller's avatar Bodo Möller
Browse files

remove superfluous code

Submitted by: Nils Larsch
parent d652a095
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -234,17 +234,15 @@ int ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
		if (!BN_copy(p, &group->field)) return 0;
		}

	if (a != NULL || b != NULL)
		{
	if (a != NULL)
		{
		if (!BN_copy(a, &group->a)) goto err;
		}

	if (b != NULL)
		{
		if (!BN_copy(b, &group->b)) goto err;
		}
		}
	
	ret = 1;
	
+0 −5
Original line number Diff line number Diff line
@@ -89,11 +89,6 @@
#include <openssl/ec.h>


/* internal function: ec_group_index2nid() returns the NID of curve
 * with the given index i from the internal curve list */
int ec_group_index2nid(int i);


/* Structure details are not part of the exported interface,
 * so all this may change in future versions. */