HomeFreeBSD

Fix a couple of bugs for asym crypto introduced in r359374.

Description

Fix a couple of bugs for asym crypto introduced in r359374.

  • Check for null pointers in the crypto_drivers[] array when checking for empty slots in crypto_select_kdriver().
  • Handle the case where crypto_kdone() is invoked on a request where krq_cap is NULL due to not finding a matching driver.

Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D26811

Details

Provenance
jhbAuthored on
Reviewer
markj
Differential Revision
D26811: Fix a couple of bugs for asym crypto introduced in r359374.
Parents
rS366851: Enable SUBDIR_PARALLEL for lib/googletest
Branches
Unknown
Tags
Unknown