From 5151cc289e17a523f20958596f9f468f081c579e Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Thu, 16 Sep 2021 14:41:19 -0400 Subject: [PATCH] Make clang happy. --- src/tls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tls.c b/src/tls.c index cf9757c6a..431aa6a0e 100644 --- a/src/tls.c +++ b/src/tls.c @@ -8471,8 +8471,8 @@ static int server_generate_oqs_ciphertext(WOLFSSL* ssl, XMEMCPY(ciphertext, ecc_kse->pubKey, ecc_kse->pubKeyLen); keyShareEntry->pubKey = ciphertext; - keyShareEntry->pubKeyLen = (word32) ecc_kse->pubKeyLen + - kem->length_ciphertext; + keyShareEntry->pubKeyLen = (word32)(ecc_kse->pubKeyLen + + kem->length_ciphertext); ciphertext = NULL; }