[Heimdal-source-changes] [heimdal/heimdal] cabd96: hcrypto-pkcs11: check mechanism flags

Luke Howard noreply at github.com
Sön May 19 01:51:47 CEST 2019


  Branch: refs/heads/heimdal-7-1-branch
  Home:   https://github.com/heimdal/heimdal
  Commit: cabd96a7b3e35eccef5118b1a265635e15c3f418
      https://github.com/heimdal/heimdal/commit/cabd96a7b3e35eccef5118b1a265635e15c3f418
  Author: Luke Howard <lukeh at padl.com>
  Date:   2019-05-18 (Sat, 18 May 2019)

  Changed paths:
    M lib/hcrypto/evp-pkcs11.c

  Log Message:
  -----------
  hcrypto-pkcs11: check mechanism flags

Before committing to a PKCS#11 mechanism, check that it can provide the
required encryption or digest services by validating the flags returned by
C_GetMechanismInfo().

(cherry picked from commit 5c70e5015edbe056eb192c166c3056c29d70482b)




More information about the Heimdal-source-changes mailing list