Colin Percival <cperciva@tarsnap.com> writes: > Please test this, even if all you have time to do is check that it compiles > on your platform -- there are some build changes which we'd like to verify > on as many platforms as possible. I checked OpenBSD, my Trisquel+Guix setup and a Debian sid container, all looking good! I got some deprecation warnings on Debian sid below, I'm not sure if that is intentional to allow compilation on earlier OpenSSL versions or a real problem. /Simon libcperciva/crypto/crypto_aes.c: In function 'openssl_oneshot': libcperciva/crypto/crypto_aes.c:156:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 156 | if (AES_set_encrypt_key(key_unexpanded, (int)(len * 8), kexp) != 0) | ^~ In file included from libcperciva/crypto/crypto_aes.c:10: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ libcperciva/crypto/crypto_aes.c:158:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | AES_encrypt(ptext, ctext, kexp); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ libcperciva/crypto/crypto_aes.c: In function 'crypto_aes_key_expand': libcperciva/crypto/crypto_aes.c:262:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 262 | if (AES_set_encrypt_key(key_unexpanded, (int)(len * 8), kexp) != 0) | ^~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ libcperciva/crypto/crypto_aes.c: In function 'crypto_aes_encrypt_block': libcperciva/crypto/crypto_aes.c:301:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | AES_encrypt(in, out, (const void *)key); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~
Attachment:
signature.asc
Description: PGP signature