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

index 71b2d119d2153603549f1c726f649781b86d8ded..9e60e2e56429ac2412f60be69a9c601f84e982d7 100644 (file)
@@ -1003,13 +1003,12 @@ gnutls_x509_crq_set_challenge_password (gnutls_x509_crq_t crq,
  * the digest algorithm to use with the specified public key
  * algorithm.
  *
- * Deprecated: Use gnutls_x509_crq_privkey_sign() instead.
- *
  * Returns: %GNUTLS_E_SUCCESS on success, otherwise an error.
  *   %GNUTLS_E_ASN1_VALUE_NOT_FOUND is returned if you didn't set all
  *   information in the certificate request (e.g., the version using
  *   gnutls_x509_crq_set_version()).
  *
+ * Deprecated: Use gnutls_x509_crq_privkey_sign() instead.
  **/
 int
 gnutls_x509_crq_sign2 (gnutls_x509_crq_t crq, gnutls_x509_privkey_t key,
@@ -1053,7 +1052,7 @@ fail:
   return result;
 }
 
-/*-
+/**
  * gnutls_x509_crq_sign:
  * @crq: should contain a #gnutls_x509_crq_t structure
  * @key: holds a private key
@@ -1063,7 +1062,9 @@ fail:
  *
  * Returns: On success, %GNUTLS_E_SUCCESS is returned, otherwise a
  *   negative error value.
- -*/
+ *
+ * Deprecated: Use gnutls_x509_crq_privkey_sign() instead.
+ */
 int
 gnutls_x509_crq_sign (gnutls_x509_crq_t crq, gnutls_x509_privkey_t key)
 {