]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
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 98337db55b6296ae7da7861ebf9c903e10863596..9a37edff50a08db2329ce892465b4ed47995518f 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;
        }