From 644b901a4cfb700f36ca83c7a0fa03ec066ebd3d Mon Sep 17 00:00:00 2001 From: Yanray Wang Date: Wed, 15 Mar 2023 16:50:31 +0800 Subject: [PATCH] rsa.c: remove MBEDTLS_PRIVATE Signed-off-by: Yanray Wang --- library/rsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/rsa.c b/library/rsa.c index 63102d7a0e..54585f2c89 100644 --- a/library/rsa.c +++ b/library/rsa.c @@ -504,7 +504,7 @@ int mbedtls_rsa_set_padding(mbedtls_rsa_context *ctx, int padding, */ int mbedtls_rsa_get_padding_mode(const mbedtls_rsa_context *ctx) { - return ctx->MBEDTLS_PRIVATE(padding); + return ctx->padding; } /* @@ -512,7 +512,7 @@ int mbedtls_rsa_get_padding_mode(const mbedtls_rsa_context *ctx) */ int mbedtls_rsa_get_hash_id(const mbedtls_rsa_context *ctx) { - return ctx->MBEDTLS_PRIVATE(hash_id); + return ctx->hash_id; } /*