From: Zdenek Dohnal Date: Tue, 3 Oct 2023 12:39:33 +0000 (+0200) Subject: cups/hash.c: LibreSSL version does not support several hashes X-Git-Tag: v2.4.8~44^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F794%2Fhead;p=thirdparty%2Fcups.git cups/hash.c: LibreSSL version does not support several hashes --- diff --git a/cups/hash.c b/cups/hash.c index c447bab4ea..5eefa1010e 100644 --- a/cups/hash.c +++ b/cups/hash.c @@ -254,14 +254,6 @@ hash_data(const char *algorithm, // I - Algorithm { md = EVP_sha512(); } - else if (!strcmp(algorithm, "sha2-512_224")) - { - md = EVP_sha512_224(); - } - else if (!strcmp(algorithm, "sha2-512_256")) - { - md = EVP_sha512_256(); - } if (md) {