]> git.ipfire.org Git - thirdparty/krb5.git/commit
Split pkinit_identity_initialize into two phases
authorNalin Dahyabhai <nalin@redhat.com>
Fri, 28 Jun 2013 21:12:39 +0000 (17:12 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 17 Jul 2013 16:24:20 +0000 (12:24 -0400)
commit60426439f672fe273ceead17910f818da1954c5b
treeca0ec66872d66f87f055b09aaded03ce5927790c
parentacb490bd01235511294ecb6b23750e648e48f7dc
Split pkinit_identity_initialize into two phases

Split part of pkinit_identity_initialize() into a second piece named
pkinit_identity_prompt().  Have each piece pass a new boolean flag to
crypto_load_certs() to indicate if it should defer prompting for a
password/PIN for client identities that require one.  If the flag isn't
set, then crypto_load_certs() should attempt to use a responder-supplied
value, or call the prompter if there isn't one.

ticket: 7680
src/plugins/preauth/pkinit/pkinit.h
src/plugins/preauth/pkinit/pkinit_clnt.c
src/plugins/preauth/pkinit/pkinit_crypto.h
src/plugins/preauth/pkinit/pkinit_crypto_nss.c
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
src/plugins/preauth/pkinit/pkinit_identity.c
src/plugins/preauth/pkinit/pkinit_srv.c