Skip Menu |

Subject: git commit

Remove length limit on PKINIT PKCS#12 prompt

Long pathnames can trigger the 128-byte prompt length limit in
pkinit_get_certs_pkcs12. Use asprintf instead of snprintf. Also
check the result of the prompter invocation.

(cherry picked from commit 3c330ea5846ca02da36a0cb5a5c879364d28a267)
Author: Greg Hudson <>
Committer: Tom Yu <>
Commit: e4c312e505b46b35ab35ce74a8eec153641f95ac
Branch: krb5-1.12
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)