commit | c750932f2cdd5a8c85b9b4402a8c76ec8499bdc6 | [log] [tgz] |
---|---|---|
author | Andrzej Kurek <andrzej.kurek@mobica.com> | Tue Jan 08 09:36:01 2019 -0500 |
committer | Andrzej Kurek <andrzej.kurek@mobica.com> | Wed Jan 23 06:22:32 2019 -0500 |
tree | e372a2740d676018ccfcd2462be63ab4b88570f3 | |
parent | 9e0feff117616117f81644c5062803842aed0ce2 [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 );