From 52d83dabd636fa4b97b1ee73d6bc1a6476d1406e Mon Sep 17 00:00:00 2001 From: "Adrian L. Shaw" Date: Wed, 15 May 2019 11:39:06 +0100 Subject: [PATCH] Mention psa_close_key in the description of psa_open_key --- include/psa/crypto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 22dea8feb..fc5d8079c 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -543,6 +543,8 @@ void psa_reset_key_attributes(psa_key_attributes_t *attributes); * * Open a handle to a key which was previously created with * psa_make_key_persistent() when setting its attributes. + * The handle should eventually be closed with psa_close_key() + * to release associated resources. * * Implementations may provide additional keys that can be opened with * psa_open_key(). Such keys have a key identifier in the vendor range,