From b6ecd70ac72521c7e8ee5b3f62d58dbc86548b75 Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Fri, 13 Mar 2020 13:08:18 -0400 Subject: [PATCH] Don't return void --- common/aes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/aes.c b/common/aes.c index 43605a9c..e7d451ab 100644 --- a/common/aes.c +++ b/common/aes.c @@ -587,7 +587,7 @@ void aes128_ecb_keyexp(aes128ctx *r, const unsigned char *key) { } void aes128_ctr_keyexp(aes128ctx *r, const unsigned char *key) { - return aes128_ecb_keyexp(r, key); + aes128_ecb_keyexp(r, key); } @@ -604,7 +604,7 @@ void aes192_ecb_keyexp(aes192ctx *r, const unsigned char *key) { void aes192_ctr_keyexp(aes192ctx *r, const unsigned char *key) { - return aes192_ecb_keyexp(r, key); + aes192_ecb_keyexp(r, key); } @@ -621,7 +621,7 @@ void aes256_ecb_keyexp(aes256ctx *r, const unsigned char *key) { void aes256_ctr_keyexp(aes256ctx *r, const unsigned char *key) { - return aes256_ecb_keyexp(r, key); + aes256_ecb_keyexp(r, key); }