diff options
-rw-r--r-- | lib/includes/gnutls/compat.h | 7 | ||||
-rw-r--r-- | lib/includes/gnutls/x509.h | 4 | ||||
-rw-r--r-- | lib/x509/crl_write.c | 2 |
3 files changed, 4 insertions, 9 deletions
diff --git a/lib/includes/gnutls/compat.h b/lib/includes/gnutls/compat.h index 2dbc04a9eb..aa5c5cb10d 100644 --- a/lib/includes/gnutls/compat.h +++ b/lib/includes/gnutls/compat.h @@ -187,13 +187,6 @@ int gnutls_x509_crq_sign(gnutls_x509_crq_t crq, _GNUTLS_GCC_ATTR_DEPRECATED; - - /* gnutls_x509_crl_privkey_sign */ -int gnutls_x509_crl_sign(gnutls_x509_crl_t crl, - gnutls_x509_crt_t issuer, - gnutls_x509_privkey_t issuer_key) - _GNUTLS_GCC_ATTR_DEPRECATED; - /* use gnutls_privkey_sign_hash() with the GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA flag */ #ifdef _ISOC99_SOURCE diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h index 86d45dd5c4..23593fd235 100644 --- a/lib/includes/gnutls/x509.h +++ b/lib/includes/gnutls/x509.h @@ -399,6 +399,10 @@ int gnutls_x509_crt_set_crl_dist_points(gnutls_x509_crt_t crt, int gnutls_x509_crt_cpy_crl_dist_points(gnutls_x509_crt_t dst, gnutls_x509_crt_t src); +int gnutls_x509_crl_sign(gnutls_x509_crl_t crl, + gnutls_x509_crt_t issuer, + gnutls_x509_privkey_t issuer_key); + int gnutls_x509_crl_sign2(gnutls_x509_crl_t crl, gnutls_x509_crt_t issuer, gnutls_x509_privkey_t issuer_key, diff --git a/lib/x509/crl_write.c b/lib/x509/crl_write.c index b09887486a..b384aa02c3 100644 --- a/lib/x509/crl_write.c +++ b/lib/x509/crl_write.c @@ -151,8 +151,6 @@ gnutls_x509_crl_sign2(gnutls_x509_crl_t crl, gnutls_x509_crt_t issuer, * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a * negative error value. - * - * Deprecated: Use gnutls_x509_crl_privkey_sign(). */ int gnutls_x509_crl_sign(gnutls_x509_crl_t crl, gnutls_x509_crt_t issuer, |