(_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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user