From e45dba47b517d2af87a90cff8c5a1d8241ed625c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 12 May 2015 14:54:15 +0200 Subject: [PATCH] Remove unused member in des_context --- ChangeLog | 1 + include/mbedtls/des.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 58c925f72..7ef518467 100644 --- a/ChangeLog +++ b/ChangeLog @@ -96,6 +96,7 @@ Semi-API changes (technically public, morally private) * Remove sig_oid2 and rename sig_oid1 to sig_oid in x509_crt and x509_crl. * x509_crt.key_usage changed from unsigned char to unsigned int. * Remove r and s from ecdsa_context + * Remove mode from des_context and des3_context Default behavior changes * The default minimum TLS version is now TLS 1.0. diff --git a/include/mbedtls/des.h b/include/mbedtls/des.h index 753b3e01c..55ca455ec 100644 --- a/include/mbedtls/des.h +++ b/include/mbedtls/des.h @@ -53,7 +53,6 @@ extern "C" { */ typedef struct { - int mode; /*!< encrypt/decrypt */ uint32_t sk[32]; /*!< DES subkeys */ } mbedtls_des_context; @@ -63,7 +62,6 @@ mbedtls_des_context; */ typedef struct { - int mode; /*!< encrypt/decrypt */ uint32_t sk[96]; /*!< 3DES subkeys */ } mbedtls_des3_context;