From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/profanity/openssl-aesgcm-download.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 opt/profanity/openssl-aesgcm-download.patch (limited to 'opt/profanity/openssl-aesgcm-download.patch') diff --git a/opt/profanity/openssl-aesgcm-download.patch b/opt/profanity/openssl-aesgcm-download.patch new file mode 100644 index 0000000..c0a7ad4 --- /dev/null +++ b/opt/profanity/openssl-aesgcm-download.patch @@ -0,0 +1,24 @@ +--- a/src/tools/aesgcm_download.c ++++ b/src/tools/aesgcm_download.c +@@ -105,17 +105,17 @@ + return NULL; + } + +- gcry_error_t crypt_res; ++ int crypt_res; + crypt_res = omemo_decrypt_file(tmpfh, outfh, + bytes_received, fragment); + fclose(tmpfh); + remove(tmpname); + +- if (crypt_res != GPG_ERR_NO_ERROR) { ++ if (crypt_res != 0) { + http_print_transfer_update(aesgcm_dl->window, aesgcm_dl->id, THEME_ERROR, ENTRY_ERROR, + "Downloading '%s' failed: Failed to decrypt " +- "file (%s).", +- aesgcm_dl->url, gcry_strerror(crypt_res)); ++ "file (%d).", ++ aesgcm_dl->url, crypt_res); + } else { + http_print_transfer_update(aesgcm_dl->window, aesgcm_dl->id, THEME_ONLINE, ENTRY_COMPLETED, + "Downloading '%s': done\nSaved to '%s'", -- cgit v1.3.1