From c92a235361e13f69e3bbd7ce90e91871c39c8b63 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sat, 22 Aug 2020 14:12:28 +0200 Subject: [PATCH] Fix ssl declarations return void Signed-off-by: Philippe Coval --- pssl-mbedtls.h | 2 +- pssl-openssl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pssl-mbedtls.h b/pssl-mbedtls.h index b25cf7a..154a8ec 100644 --- a/pssl-mbedtls.h +++ b/pssl-mbedtls.h @@ -140,7 +140,7 @@ static inline void psync_aes256_decode_2blocks_consec(psync_aes256_decoder enc, aes_crypt_ecb(enc, AES_DECRYPT, src+PSYNC_AES256_BLOCK_SIZE, dst+PSYNC_AES256_BLOCK_SIZE); } -static inline void void psync_aes256_decode_4blocks_consec_xor(psync_aes256_decoder enc, const unsigned char *src, unsigned char *dst, unsigned char *bxor){ +static inline void psync_aes256_decode_4blocks_consec_xor(psync_aes256_decoder enc, const unsigned char *src, unsigned char *dst, unsigned char *bxor){ unsigned long i; aes_crypt_ecb(enc, AES_DECRYPT, src, dst); aes_crypt_ecb(enc, AES_DECRYPT, src+PSYNC_AES256_BLOCK_SIZE, dst+PSYNC_AES256_BLOCK_SIZE); diff --git a/pssl-openssl.h b/pssl-openssl.h index 581b735..b360025 100644 --- a/pssl-openssl.h +++ b/pssl-openssl.h @@ -142,7 +142,7 @@ static inline void psync_aes256_decode_2blocks_consec(psync_aes256_decoder enc, AES_decrypt(src+PSYNC_AES256_BLOCK_SIZE, dst+PSYNC_AES256_BLOCK_SIZE, enc); } -static inline void void psync_aes256_decode_4blocks_consec_xor(psync_aes256_decoder enc, const unsigned char *src, unsigned char *dst, unsigned char *bxor){ +static inline void psync_aes256_decode_4blocks_consec_xor(psync_aes256_decoder enc, const unsigned char *src, unsigned char *dst, unsigned char *bxor){ unsigned long i; AES_decrypt(src, dst, enc); AES_decrypt(src+PSYNC_AES256_BLOCK_SIZE, dst+PSYNC_AES256_BLOCK_SIZE, enc);