]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated doc
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 5 Feb 2013 18:19:24 +0000 (19:19 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 5 Feb 2013 18:19:24 +0000 (19:19 +0100)
lib/gnutls_pubkey.c
lib/x509/x509.c

index 4f34f6684ee5dd5e0993bee3092e6f4f089367b2..94d826865d7a2863c178d283e344a99158059c20 100644 (file)
@@ -1504,11 +1504,12 @@ gnutls_pubkey_import_dsa_raw (gnutls_pubkey_t key,
  * This function will verify the given signed data, using the
  * parameters from the certificate.
  *
+ * Deprecated. This function cannot be easily used securely. 
+ * Use gnutls_pubkey_verify_data2() instead.
+ *
  * Returns: In case of a verification failure %GNUTLS_E_PK_SIG_VERIFY_FAILED 
  * is returned, and zero or positive code on success. 
  *
- * Deprecated. Use gnutls_pubkey_verify_data2() instead of this function.
- *
  * Since: 2.12.0
  **/
 int
@@ -1586,7 +1587,9 @@ gnutls_pubkey_verify_data2 (gnutls_pubkey_t pubkey,
  * This function will verify the given signed digest, using the
  * parameters from the public key. 
  *
- * Deprecated. Use gnutls_pubkey_verify_hash2() instead of this function.
+ * Deprecated. This function cannot be easily used securely. 
+ * Use gnutls_pubkey_verify_hash2() instead.
+ *
  *
  * Returns: In case of a verification failure %GNUTLS_E_PK_SIG_VERIFY_FAILED 
  * is returned, and zero or positive code on success.
index cd4272c704c0dc1e8d7fe08e222ceee20ca15f1a..132c383ce6c28595526a504d0d39f1d3be9b1ac3 100644 (file)
@@ -2992,7 +2992,8 @@ gnutls_x509_crt_get_preferred_hash_algorithm (gnutls_x509_crt_t crt,
  * This function will verify the given signed data, using the
  * parameters from the certificate.
  *
- * Deprecated. Please use gnutls_pubkey_verify_data().
+ * Deprecated. This function cannot be easily used securely. 
+ * Use gnutls_pubkey_verify_data2() instead.
  *
  * Returns: In case of a verification failure %GNUTLS_E_PK_SIG_VERIFY_FAILED 
  * is returned, and zero or positive code on success.
@@ -3030,7 +3031,8 @@ gnutls_x509_crt_verify_data (gnutls_x509_crt_t crt, unsigned int flags,
  * This function will verify the given signed digest, using the
  * parameters from the certificate.
  *
- * Deprecated. Please use gnutls_pubkey_verify_data2() or gnutls_pubkey_verify_hash2().
+ * Deprecated. This function cannot be easily used securely. 
+ * Use gnutls_pubkey_verify_hash2() instead.
  *
  * Returns: In case of a verification failure %GNUTLS_E_PK_SIG_VERIFY_FAILED 
  * is returned, and zero or positive code on success.