From: Simon Josefsson Date: Sun, 20 Feb 2011 19:45:48 +0000 (+0100) Subject: Fix deprecated docstring. X-Git-Tag: gnutls_2_99_0~179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=554e585799f7fc16e2c9ca9e263122bb712cb9fd;p=thirdparty%2Fgnutls.git Fix deprecated docstring. --- diff --git a/lib/x509/crq.c b/lib/x509/crq.c index 71b2d119d2..9e60e2e564 100644 --- a/lib/x509/crq.c +++ b/lib/x509/crq.c @@ -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) {