diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-02 15:36:37 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-02 15:42:32 +0200 |
commit | 645eb5efdedd519a4e88abd4df47b6ad4c20da01 (patch) | |
tree | deac93fbc3ff65c8ef66c7d6ee296c27d8040a8e | |
parent | 056b8ea3a85b0f8e64ba415a7d402942f03a21ce (diff) | |
download | gnutls-645eb5efdedd519a4e88abd4df47b6ad4c20da01.tar.gz |
gnutls_pkcs11_obj_get_exts: updated documentation [ci skip]
-rw-r--r-- | lib/pkcs11x.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/pkcs11x.c b/lib/pkcs11x.c index 7fe6fcdda7..87e22cc8f0 100644 --- a/lib/pkcs11x.c +++ b/lib/pkcs11x.c @@ -229,16 +229,19 @@ find_ext_cb(struct pkcs11_session_info *sinfo, } /** - * gnutls_pkcs11_obj_get_ext: - * @obj: should contain a #gnutls_pkcs11_obj_t structure - * @exts: an allocated list of pointers to %gnutls_x509_ext_st - * @exts_size: the number of @exts + * gnutls_pkcs11_obj_get_exts: + * @obj: should contain a #gnutls_pkcs11_obj_t type + * @exts: a pointer to a %gnutls_x509_ext_st pointer + * @exts_size: will be updated with the number of @exts * @flags: Or sequence of %GNUTLS_PKCS11_OBJ_* flags * * This function will return information about attached extensions * that associate to the provided object (which should be a certificate). * The extensions are the attached p11-kit trust module extensions. * + * Each element of @exts must be deinitialized using gnutls_x509_ext_deinit() + * while @exts should be deallocated using gnutls_free(). + * * Returns: %GNUTLS_E_SUCCESS (0) on success or a negative error code on error. * * Since: 3.3.8 |