charon-cmd: Request password for private keys

This commit is contained in:
Tobias Brunner
2013-05-08 15:02:40 +02:00
parent 1f2a34d6d8
commit 89d350f46a
+3
View File
@@ -84,6 +84,9 @@ static shared_key_t* callback_shared(private_cmd_creds_t *this,
case SHARED_IKE:
label = "Preshared Key: ";
break;
case SHARED_PRIVATE_KEY_PASS:
label = "Password: ";
break;
default:
return NULL;
}