Created
November 12, 2010 02:07
-
-
Save tipt0e/673614 to your computer and use it in GitHub Desktop.
pkinit snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!auth.pkcert) { | |
krb5_get_init_creds_opt_set_pa_password(context, opt, | |
auth.password->bv_val, | |
NULL); | |
} else { | |
krb5_get_init_creds_opt_set_pkinit(context, opt, target, | |
auth.pkcert, NULL, NULL, NULL, | |
0, 0, NULL, | |
auth.password->bv_val); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment