]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update: account for new functions
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 1 Apr 2015 17:08:33 +0000 (19:08 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 1 Apr 2015 17:08:33 +0000 (19:08 +0200)
doc/cha-tokens.texi
lib/includes/gnutls/abstract.h
lib/includes/gnutls/compat.h

index 190dd982eac5b8a86e332bed5201a047dc5215dc..b3e9700ab6d72a1dc274106f310b5b84cd4837e9 100644 (file)
@@ -434,9 +434,9 @@ to prevent its extraction. An object can be marked as private using the flag
 @code{GNUTLS_@-PKCS11_OBJ_@-FLAG_@-MARK_@-PRIVATE}, to require PIN to be
 entered before accessing the object (for operations or otherwise).
 
-@showfuncdesc{gnutls_pkcs11_copy_x509_privkey}
+@showfuncdesc{gnutls_pkcs11_copy_x509_privkey2}
 
-@showfuncdesc{gnutls_pkcs11_copy_x509_crt}
+@showfuncdesc{gnutls_pkcs11_copy_x509_crt2}
 @showfuncdesc{gnutls_pkcs11_delete_url}
 
 
index c3cf7e957c84590990fc5757db729ebf2bce1f16..9f8532cea32de6ec07950505c2c4f752f9bc4a86 100644 (file)
@@ -381,6 +381,9 @@ int gnutls_privkey_sign_data(gnutls_privkey_t signer,
                             const gnutls_datum_t * data,
                             gnutls_datum_t * signature);
 
+#define gnutls_privkey_sign_raw_data(key, flags, data, sig) \
+       gnutls_privkey_sign_hash ( key, 0, GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA, data, sig)
+
 int gnutls_privkey_sign_hash(gnutls_privkey_t signer,
                             gnutls_digest_algorithm_t hash_algo,
                             unsigned int flags,
index 4e36c07a1060e39a78a479265f289a4c3767cc62..537aef0c614d4fa079aba2fe8e4f52e09b08901b 100644 (file)
@@ -205,8 +205,6 @@ int gnutls_x509_crl_sign(gnutls_x509_crl_t crl,
     _GNUTLS_GCC_ATTR_DEPRECATED;
 
        /* use gnutls_privkey_sign_hash() with the GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA flag */
-#define gnutls_privkey_sign_raw_data(key, flags, data, sig) \
-       gnutls_privkey_sign_hash(key, 0, GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA, data, sig)
 
 #ifdef _ISOC99_SOURCE
 /* we provide older functions for compatibility as inline functions that