1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

Rm ecp_keypair.alg

Avoid duplicating information already present in pk_context.
This commit is contained in:
Manuel Pégourié-Gonnard
2013-07-11 15:55:14 +02:00
committed by Paul Bakker
parent 8b863cd641
commit 96f3a4e1b3
3 changed files with 0 additions and 20 deletions

View File

@@ -101,7 +101,6 @@ void ecp_keypair_init( ecp_keypair *key )
ecp_group_init( &key->grp );
mpi_init( &key->d );
ecp_point_init( &key->Q );
key->alg = POLARSSL_ECP_KEY_ALG_UNRESTRICTED;
}
/*
@@ -142,7 +141,6 @@ void ecp_keypair_free( ecp_keypair *key )
ecp_group_free( &key->grp );
mpi_free( &key->d );
ecp_point_free( &key->Q );
key->alg = POLARSSL_ECP_KEY_ALG_UNRESTRICTED;
}
/*