From: Nikos Mavrogiannopoulos Date: Mon, 2 May 2016 10:09:03 +0000 (+0200) Subject: gnutls_x509_crt_import_url: updated documentation for new function name X-Git-Tag: gnutls_3_5_0~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=235e961082aa428c9fa6201565689b4603ee02db;p=thirdparty%2Fgnutls.git gnutls_x509_crt_import_url: updated documentation for new function name --- diff --git a/lib/x509/x509.c b/lib/x509/x509.c index db6197653c..3cccc9ec12 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -3866,15 +3866,13 @@ void gnutls_x509_crt_set_pin_function(gnutls_x509_crt_t crt, * gnutls_x509_crt_import_url: * @crt: A certificate of type #gnutls_x509_crt_t * @url: A PKCS 11 url - * @flags: One of GNUTLS_PKCS11_OBJ_* flags + * @flags: One of GNUTLS_PKCS11_OBJ_* flags for PKCS#11 URLs or zero otherwise * - * This function will import a PKCS 11 certificate directly from a token - * without involving the #gnutls_pkcs11_obj_t type. This function will - * fail if the certificate stored is not of X.509 type. + * This function will import a certificate present in a PKCS#11 token + * or any type of back-end that supports URLs. * - * Despite its name this function will attempt to import any kind of - * URL to certificate. In previous versions of gnutls this function - * was named gnutls_x509_crt_import_pkcs11_url, and the old name is + * In previous versions of gnutls this function was named + * gnutls_x509_crt_import_pkcs11_url, and the old name is * an alias to this one. * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a