PSA: Adapt ssl_client2 to new key policy initialization API
This commit is contained in:
parent
37519ea5f8
commit
1387124c89
1 changed files with 1 additions and 1 deletions
|
@ -1601,7 +1601,7 @@ int main( int argc, char *argv[] )
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
psa_key_policy_init( &policy );
|
policy = psa_key_policy_init();
|
||||||
psa_key_policy_set_usage( &policy, PSA_KEY_USAGE_DERIVE, alg );
|
psa_key_policy_set_usage( &policy, PSA_KEY_USAGE_DERIVE, alg );
|
||||||
|
|
||||||
status = psa_set_key_policy( slot, &policy );
|
status = psa_set_key_policy( slot, &policy );
|
||||||
|
|
Loading…
Reference in a new issue