mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Fix convert command to use an associated APQN of a key
The zkey convert command must select an CCA adapter out of the list of associated APQNs (if any) to perform the key conversion. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
9d1baaa594
commit
1fd78d9f5e
@@ -4050,7 +4050,7 @@ int keystore_convert_key(struct keystore *keystore, const char *name,
|
||||
if (rc)
|
||||
goto out;
|
||||
|
||||
rc = select_cca_adapter_by_mkvp(cca, mkvp, NULL,
|
||||
rc = select_cca_adapter_by_mkvp(cca, mkvp, apqns,
|
||||
FLAG_SEL_CCA_MATCH_CUR_MKVP,
|
||||
keystore->verbose);
|
||||
if (rc == -ENOTSUP) {
|
||||
|
||||
Reference in New Issue
Block a user