Optimize code (pake role type, freeing buffers)
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
6e628a4e7b
commit
aede2ad554
2 changed files with 5 additions and 5 deletions
|
@ -52,9 +52,9 @@ extern "C" {
|
|||
* Roles in the EC J-PAKE exchange
|
||||
*/
|
||||
typedef enum {
|
||||
MBEDTLS_ECJPAKE_NONE = 0, /**< Undefined */
|
||||
MBEDTLS_ECJPAKE_CLIENT, /**< Client */
|
||||
MBEDTLS_ECJPAKE_CLIENT = 0, /**< Client */
|
||||
MBEDTLS_ECJPAKE_SERVER, /**< Server */
|
||||
MBEDTLS_ECJPAKE_NONE, /**< Undefined */
|
||||
} mbedtls_ecjpake_role;
|
||||
|
||||
#if !defined(MBEDTLS_ECJPAKE_ALT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue