Skip to content

Commit

Permalink
allow authority key identifier to be NULL, as seen on EL9 with CILogo…
Browse files Browse the repository at this point in the history
…n client cert
  • Loading branch information
DrDaveD committed Sep 6, 2023
1 parent 92cbea9 commit 84476ff
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/sslutils/proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,10 @@ struct VOMSProxy *VOMS_MakeProxy(struct VOMSProxyArguments *args, int *warning,
ex11 = X509V3_EXT_conf_nid(NULL, &ctx, NID_authority_key_identifier, "keyid");
}

if (!ex11) {
PRXYerr(PRXYERR_F_PROXY_SIGN,PRXYERR_R_CLASS_ADD_EXT);
goto err;
if (ex11) {
if (!SET_EXT(ex11))
goto err;
}

if (!SET_EXT(ex11))
goto err;
}

/* class_add extension */
Expand Down

0 comments on commit 84476ff

Please sign in to comment.