Download (untitled) / with headers
Fix uncommon null dereference in PKINIT client
crypto_retrieve_cert_sans() is allowed to set its princs output to
NULL, although the OpenSSL implementation rarely does. Fix the
TRACE_PKINIT_CLIENT_SAN_KDCCERT_PRINC for loop to allow this like other
parts of the function do, and also get rid of the unnecessary princptr
variable by using an integer index like other parts of the function.
Based on a patch from Daniel Deptula.
Author: Greg Hudson <firstname.lastname@example.org>
src/plugins/preauth/pkinit/pkinit_clnt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)