Replace explicit IDs with table look-ups

That's a first step towards merging symmetric version of different functions
This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-14 11:10:39 +02:00
parent 5f18829609
commit e0ad57b0b3
2 changed files with 24 additions and 9 deletions

View file

@ -31,7 +31,7 @@ extern "C" {
#endif
typedef enum {
MBEDTLS_ECJPAKE_CLIENT,
MBEDTLS_ECJPAKE_CLIENT = 0,
MBEDTLS_ECJPAKE_SERVER,
} mbedtls_ecjpake_role;