charon-cmd: Request password for private keys
[strongswan.git] / src / charon-cmd / cmd / cmd_creds.c
index 98337db..9a37edf 100644 (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;
        }