From 9bb53d7affd6aabd83ecb2bf45e058ebfdd0b0d8 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 17 Apr 2018 14:09:24 +0200 Subject: [PATCH] Fix copypasta in lifetime function descriptions --- include/psa/crypto.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index b18e22053..83e941f7e 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -596,9 +596,8 @@ typedef uint32_t psa_key_lifetime_t; /** \brief Retrieve the lifetime of a key slot. * * The assignment of lifetimes to slots is implementation-dependent. - * \param key Slot whose content is to be exported. This must - * be an occupied key slot. * + * \param key Slot to query. * \param lifetime On success, the lifetime value. * * \retval PSA_SUCCESS @@ -615,9 +614,8 @@ psa_status_t psa_get_key_lifetime(psa_key_slot_t key, * whether the lifetime of an occupied key slot can be changed, is * implementation-dependent. * - * \param key Slot whose content is to be exported. This must - * be an occupied key slot. - * \param lifetime The lifetime value to be set for the given key. + * \param key Slot whose lifetime is to be changed. + * \param lifetime The lifetime value to set for the given key slot. * * \retval PSA_SUCCESS * Success.