commit | 2349c4db882624f96c654c91f1a71464f998f974 | [log] [tgz] |
---|---|---|
author | Andrzej Kurek <andrzej.kurek@mobica.com> | Tue Jan 08 09:36:01 2019 -0500 |
committer | Andrzej Kurek <andrzej.kurek@mobica.com> | Tue Jan 08 09:36:01 2019 -0500 |
tree | cea9cf1ab82abbe0e9e2797c5647c5ddaa7610b9 | |
parent | a49a94a536dd8a05d94a0746a39d6b1df7c07ea9 [diff] [blame] |
Adapt to the new key allocation mechanism
diff --git a/library/pkwrite.c b/library/pkwrite.c index d34714b..11a2a61 100644 --- a/library/pkwrite.c +++ b/library/pkwrite.c
@@ -168,7 +168,7 @@ if( mbedtls_pk_get_type( key ) == MBEDTLS_PK_OPAQUE ) { size_t buffer_size; - psa_key_slot_t* key_slot = (psa_key_slot_t*) key->pk_ctx; + psa_key_handle_t* key_slot = (psa_key_handle_t*) key->pk_ctx; if ( *p < start ) return( MBEDTLS_ERR_PK_BAD_INPUT_DATA );