(_krb5_pk_load_id): only use password if its longer then 0

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17539 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-05-11 22:56:54 +00:00
parent b0252ac443
commit d08f2e3a09

View File

@@ -1392,7 +1392,7 @@ _krb5_pk_load_id(krb5_context context,
goto out;
ret = hx509_lock_init(id->hx509ctx, &lock);
if (password)
if (password && password[0])
hx509_lock_add_password(lock, password);
if (prompter) {