(pk_principal_from_X509): reverse test, makes principal in cert work
From: Mayur Patel <patelm4@rpi.edu> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14055 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -980,7 +980,7 @@ pk_principal_from_X509(krb5_context context,
|
||||
|
||||
gens = X509_get_ext_d2i(client_cert->cert, NID_subject_alt_name,
|
||||
NULL, NULL);
|
||||
if (gens)
|
||||
if (gens == NULL)
|
||||
return 1;
|
||||
|
||||
for (i = 0; i < sk_GENERAL_NAME_num(gens); i++) {
|
||||
|
Reference in New Issue
Block a user