1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-10 17:01:41 +08:00

Fix bad name choice

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-27 20:27:06 +02:00
parent a7f8033fa4
commit 160e384360

View File

@ -348,7 +348,7 @@
#endif #endif
/* Dummy type used only for its size */ /* Dummy type used only for its size */
union mbedtls_ssl_premaster_secret_ union mbedtls_ssl_premaster_secret
{ {
#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED) #if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
unsigned char _pms_rsa[48]; /* RFC 5246 8.1.1 */ unsigned char _pms_rsa[48]; /* RFC 5246 8.1.1 */
@ -378,7 +378,7 @@ union mbedtls_ssl_premaster_secret_
#endif #endif
}; };
#define MBEDTLS_PREMASTER_SIZE sizeof( union mbedtls_ssl_premaster_secret_ ) #define MBEDTLS_PREMASTER_SIZE sizeof( union mbedtls_ssl_premaster_secret )
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {