diff -up dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c.opensslv3 dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c --- dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c.opensslv3 2021-06-03 18:56:52.573174433 +0200 +++ dovecot-2.3.14/src/lib-dcrypt/dcrypt-openssl.c 2021-06-03 18:56:52.585174274 +0200 @@ -73,10 +73,30 @@ 2key algo oid1symmetric algo namesalthash algoroundsE(RSA = i2d_PrivateKey, EC=Private Point)key id **/ +#if OPENSSL_VERSION_MAJOR == 3 +static EC_KEY *EVP_PKEY_get0_EC_KEYv3(EVP_PKEY *key) +{ + EC_KEY *eck = EVP_PKEY_get1_EC_KEY(key); + EVP_PKEY_set1_EC_KEY(key, eck); + EC_KEY_free(eck); + return eck; +} + +static EC_KEY *EVP_PKEY_get1_EC_KEYv3(EVP_PKEY *key) +{ + EC_KEY *eck = EVP_PKEY_get1_EC_KEY(key); + EVP_PKEY_set1_EC_KEY(key, eck); + return eck; +} + +#define EVP_PKEY_get0_EC_KEY EVP_PKEY_get0_EC_KEYv3 +#define EVP_PKEY_get1_EC_KEY EVP_PKEY_get1_EC_KEYv3 +#else #ifndef HAVE_EVP_PKEY_get0 #define EVP_PKEY_get0_EC_KEY(x) x->pkey.ec #define EVP_PKEY_get0_RSA(x) x->pkey.rsa #endif +#endif #ifndef HAVE_OBJ_LENGTH #define OBJ_length(o) ((o)->length) d4378377dfe49d6653e4ed668cecd2783'>refslogtreecommitdiff
AgeCommit message (Expand)Author
2024-12-02gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers....Reset .dict file mtime to start of the epoch before compressing with dictzip. * gnu/packages/patches/freedict-tools-fix-determinism.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/dictionaries.scm (freedict-tools): Use it. Signed-off-by: Runciter <runciter@whispers-vpn.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org> Runciter
2024-12-02gnu: Add freedict-dictionaries....* gnu/packages/dictionaries (freedict-dictionaries): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Runciter
2024-12-02gnu: Add freedict-tools....* gnu/packages/dictionaries.scm (freedict-tools): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I141d30aea0e2c492b272be2ab9359e6b7569f932 Runciter
2024-08-31gnu: translate-shell: Add 'bash' input for 'wrap-program'....It is required for cross-compilation. * gnu/packages/dictionaries.scm (translate-shell): Fix indentation. [inputs]: Add 'bash-minimal'. [native-inputs]: Remove labels. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I3fcca53b2645f5eb15be7eb9b91217525a2e4e3a Maxime Devos
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer
2023-11-01gnu: translate-shell: Compile emacs bytecode....* gnu/packages/dictionaries.scm (translate-shell)[#:phases]: Add ‘emacs-build’. Liliana Marie Prikler
2023-11-01gnu: translate-shell: Build autoloads before installing them....* gnu/packages/dictionaries.scm (translate-shell)[#:phases]: Move ‘emacs-make-autoloads’ before ‘unpack’. Drop ‘emacs-autoload-compilation’. Liliana Marie Prikler
2023-07-16gnu: sdcv: Update to 0.5.5....* gnu/packages/dictionaries.scm (sdcv): Update to 0.5.5. [arguments]: ...don't we? Remove the 'remove-jq-requirement phase. [native-inputs]: Add jq. Tobias Geerinckx-Rice