diff options
| author | Abdelkader Boudih <freebsd@seuros.com> | 2026-08-15 15:52:19 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2026-08-15 15:52:42 +0000 |
| commit | 521fdb95cc7863871e5404e9a9abd1c4174af1ba (patch) | |
| tree | 338d6aba098ce0d6c28bb6742ab249c3100070da | |
| parent | 1100d9eca9cb2860c58633a9176dd11a30850da4 (diff) | |
ossl: fix unused-function warning for AES_CBC_ENCRYPT on powerpc
static, not static inline, so TUs that don't call it warn.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D58823
| -rw-r--r-- | sys/crypto/openssl/ossl_ppc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/crypto/openssl/ossl_ppc.h b/sys/crypto/openssl/ossl_ppc.h index 5f685687d27e..9218a5e8127f 100644 --- a/sys/crypto/openssl/ossl_ppc.h +++ b/sys/crypto/openssl/ossl_ppc.h @@ -33,7 +33,7 @@ ossl_cipher_encrypt_t aes_p8_cbc_encrypt; /* vpaes-ppc.S */ ossl_cipher_encrypt_t vpaes_cbc_encrypt; -static void +static inline void AES_CBC_ENCRYPT(const unsigned char *in, unsigned char *out, size_t length, const void *key, unsigned char *iv, int encrypt) { |
