From 99c198a98a782fe3ceb93c405d99cd4406288be9 Mon Sep 17 00:00:00 2001 From: Songling Han Date: Tue, 24 Sep 2024 05:18:41 +0000 Subject: [PATCH] format code Signed-off-by: Songling Han --- src/common/common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/common.c b/src/common/common.c index 0ea95fb95..6521fd679 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -301,15 +301,15 @@ void *OQS_MEM_checked_aligned_alloc(size_t alignment, size_t size) { OQS_API void OQS_MEM_secure_free(void *ptr, size_t len) { if (ptr != NULL) { OQS_MEM_cleanse(ptr, len); - OQS_MEM_insecure_free(ptr); + OQS_MEM_insecure_free(ptr); } } OQS_API void OQS_MEM_insecure_free(void *ptr) { #if (defined(OQS_USE_OPENSSL) || defined(OQS_DLOPEN_OPENSSL)) && defined(OPENSSL_VERSION_NUMBER) - OPENSSL_free(ptr); + OPENSSL_free(ptr); #else - free(ptr); + free(ptr); #endif }