charon-cmd: Request password for private keys
authorTobias Brunner <tobias@strongswan.org>
Fri, 12 Apr 2013 16:28:17 +0000 (18:28 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 May 2013 13:02:40 +0000 (15:02 +0200)
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;
        }