Source: git-crypt Version: 0.6.0-1 Severity: important Tags: bookworm sid User: pkg-openssl-de...@lists.alioth.debian.org Usertags: ftbfs-3.0
Hi, Your package is failing to build using OpenSSL 3.0 with the following error: crypto-openssl-10.cpp: In constructor Aes_ecb_encryptor::Aes_ecb_encryptor(const unsigned char*): crypto-openssl-10.cpp:59:60: warning: int AES_set_encrypt_key(const unsigned char*, int, AES_KEY*) is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | if (AES_set_encrypt_key(raw_key, KEY_LEN * 8, &(impl->key)) != 0) { | ^ In file included from crypto-openssl-10.cpp:38: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ crypto-openssl-10.cpp: In member function void Aes_ecb_encryptor::encrypt(const unsigned char*, unsigned char*): crypto-openssl-10.cpp:74:41: warning: void AES_encrypt(const unsigned char*, unsigned char*, const AES_KEY*) is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | AES_encrypt(plain, cipher, &(impl->key)); | ^ In file included from crypto-openssl-10.cpp:38: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ crypto-openssl-10.cpp: At global scope: crypto-openssl-10.cpp:78:11: error: field ctx has incomplete type HMAC_CTX {aka hmac_ctx_st} 78 | HMAC_CTX ctx; | ^~~ In file included from /usr/include/openssl/evp.h:26, from /usr/include/openssl/hmac.h:21, from crypto-openssl-10.cpp:40: /usr/include/openssl/types.h:132:16: note: forward declaration of HMAC_CTX {aka struct hmac_ctx_st} 132 | typedef struct hmac_ctx_st HMAC_CTX; | ^~~~~~~~~~~ crypto-openssl-10.cpp: In destructor Hmac_sha1_state::~Hmac_sha1_state(): crypto-openssl-10.cpp:92:2: error: HMAC_cleanup was not declared in this scope; did you mean EVP_cleanup? 92 | HMAC_cleanup(&(impl->ctx)); | ^~~~~~~~~~~~ | EVP_cleanup make[1]: *** [<builtin>: crypto-openssl-10.o] Error 1 Kurt