diff --git a/include/mbedtls/cipher.h b/include/mbedtls/cipher.h index dd5041465..87d9c79f5 100644 --- a/include/mbedtls/cipher.h +++ b/include/mbedtls/cipher.h @@ -367,7 +367,7 @@ static inline int mbedtls_cipher_get_iv_size( const mbedtls_cipher_context_t *ct if( ctx->iv_size != 0 ) return (int) ctx->iv_size; - return ctx->cipher_info->iv_size; + return (int) ctx->cipher_info->iv_size; } /** @@ -415,7 +415,7 @@ static inline int mbedtls_cipher_get_key_bitlen( const mbedtls_cipher_context_t if( NULL == ctx || NULL == ctx->cipher_info ) return MBEDTLS_KEY_LENGTH_NONE; - return ctx->cipher_info->key_bitlen; + return (int) ctx->cipher_info->key_bitlen; } /** diff --git a/yotta/data/module.json b/yotta/data/module.json index b53f25036..995835d00 100644 --- a/yotta/data/module.json +++ b/yotta/data/module.json @@ -1,6 +1,7 @@ { "name": "mbedtls", "version": "2.0.4", + "description": "The mbed TLS crypto/SSL/TLS library", "private": true, "licenses": [ {