[Heimdal-source-changes] [heimdal/heimdal] 9518f2: hcrypto PKCS#11 backend: don't leak sessions on di...

GitHub noreply at github.com
Fre May 11 12:52:12 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 9518f2965b4d0daef0eda733c31c6c26ccae20a4
      https://github.com/heimdal/heimdal/commit/9518f2965b4d0daef0eda733c31c6c26ccae20a4
  Author: Luke Howard <lukeh at padl.com>
  Date:   2018-05-11 (Fri, 11 May 2018)

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

  Log Message:
  -----------
  hcrypto PKCS#11 backend: don't leak sessions on digest reinit

Clients of the EVP API can reinitialize message digest contexts
without destroying them. The PKCS#11 backend assumed they were
only used once, and was leaking session handles upon reinitialization.
This fix disposes of any existing PKCS#11 message digest context
in the initialization method.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Heimdal-source-changes mailing list