]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix docstring.
authorSimon Josefsson <simon@josefsson.org>
Sun, 20 Feb 2011 19:48:05 +0000 (20:48 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 23 Feb 2011 17:49:20 +0000 (18:49 +0100)
lib/x509/privkey.c

index 0391ee4df8fa3a2a277768195f0441715435a641..c039f01d6365386536ac3a5af662f5e864b5c4ec 100644 (file)
@@ -1783,7 +1783,7 @@ gnutls_x509_privkey_sign_hash (gnutls_x509_privkey_t key,
  * Returns: On success, %GNUTLS_E_SUCCESS is returned, otherwise a
  *   negative error value.
  *
- * Deprecated: 2.12.0
+ * Deprecated: Use gnutls_privkey_sign_data().
  */
 int
 gnutls_x509_privkey_sign_data (gnutls_x509_privkey_t key,
@@ -1837,7 +1837,7 @@ gnutls_x509_privkey_sign_data (gnutls_x509_privkey_t key,
 }
 
 
-/*-
+/**
  * gnutls_x509_privkey_verify_data:
  * @key: Holds the key
  * @flags: should be 0 for now
@@ -1850,8 +1850,8 @@ gnutls_x509_privkey_sign_data (gnutls_x509_privkey_t key,
  * Returns: In case of a verification failure %GNUTLS_E_PK_SIG_VERIFY_FAILED 
  * is returned, and a positive code on success.
  *
- * Deprecated in: 2.11.0
-*/
+ * Deprecated: Use gnutls_pubkey_verify_data().
+ */
 int
 gnutls_x509_privkey_verify_data (gnutls_x509_privkey_t key,
                                  unsigned int flags,