Improve traced error messages from PKINIT client
authorGreg Hudson <ghudson@mit.edu>
Tue, 8 May 2012 03:04:15 +0000 (03:04 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 8 May 2012 03:04:15 +0000 (03:04 +0000)
commit6d19259c7eb9277c12a7f2eec9aa80563b4c5acc
tree8f50b856f15952b285c473c183987ffe67821fde
parentfaeacc69b5c9e386ea2977506b24dea055bf926b
Improve traced error messages from PKINIT client

If we have no configured PKINIT client identity, or if we fail to
create a certificate chain, set a reasonable error code (not EINVAL or
ENOMEM) and a useful error message to appear in trace log output.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25854 dc483132-0cff-0310-8789-dd5450dbe970
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
src/plugins/preauth/pkinit/pkinit_identity.c