]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
use everywhere the new name of gnutls_x509_crt_import_pkcs11_url
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 23 Dec 2014 11:41:35 +0000 (13:41 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 23 Dec 2014 11:41:35 +0000 (13:41 +0200)
doc/cha-tokens.texi
lib/x509/x509.c

index 0971628c969f4951c7fcf2efda16bd1da641bd3c..06408ebaa13f9dfa41a136f9f0499b86e41b8706 100644 (file)
@@ -67,7 +67,7 @@ gnutls_privkey_t abs_key;
   gnutls_privkey_import_url(abs_key, key_url);
 
   gnutls_x509_crt_init(&ca_cert);
-  gnutls_x509_crt_import_pkcs11_url(&ca_cert, cert_url);
+  gnutls_x509_crt_import_url(&ca_cert, cert_url);
 
   /* sign the certificate to be signed */
   gnutls_x509_crt_privkey_sign(to_be_signed, ca_cert, abs_key, 
@@ -390,7 +390,7 @@ are shown below.
 
 @showfuncdesc{gnutls_pkcs11_obj_get_info}
 
-@showfuncC{gnutls_x509_crt_import_pkcs11,gnutls_x509_crt_import_pkcs11_url,gnutls_x509_crt_list_import_pkcs11}
+@showfuncC{gnutls_x509_crt_import_pkcs11,gnutls_x509_crt_import_url,gnutls_x509_crt_list_import_pkcs11}
 
 Properties of the physical token can also be accessed and altered with @acronym{GnuTLS}.
 For example data in a token can be erased (initialized), PIN can be altered, etc.
index 4bb5bf275353c91992ab188c30fed05e72b7417d..89dcb98764727ab1e8a63253f055341b62b05e80 100644 (file)
@@ -3665,7 +3665,7 @@ gnutls_x509_crt_get_authority_info_access(gnutls_x509_crt_t crt,
  * the global function set using gnutls_pkcs11_set_pin_function().
  *
  * Note that this callback is currently used only during the import
- * of a PKCS #11 certificate with gnutls_x509_crt_import_pkcs11_url().
+ * of a PKCS #11 certificate with gnutls_x509_crt_import_url().
  *
  * Since: 3.1.0
  *
@@ -3689,7 +3689,9 @@ void gnutls_x509_crt_set_pin_function(gnutls_x509_crt_t crt,
  * fail if the certificate stored is not of X.509 type.
  *
  * Despite its name this function will attempt to import any kind of 
- * URL to certificate. It is synonymous to gnutls_x509_crt_import_pkcs11_url().
+ * URL to certificate. 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
  *   negative error value.