]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
cups/hash.c: LibreSSL version does not support several hashes 794/head
authorZdenek Dohnal <zdohnal@redhat.com>
Tue, 3 Oct 2023 12:39:33 +0000 (14:39 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Tue, 3 Oct 2023 12:39:33 +0000 (14:39 +0200)
cups/hash.c

index c447bab4ea962fdb2c346c339978a25f732f35eb..5eefa1010e59291b54c50e3fa6740561c132a051 100644 (file)
@@ -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)
   {