diff options
-rw-r--r-- | lib/auth/cert.c | 8 | ||||
-rw-r--r-- | lib/auth/cert.h | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/lib/auth/cert.c b/lib/auth/cert.c index 0ec6fbee8f..7c6b631a1d 100644 --- a/lib/auth/cert.c +++ b/lib/auth/cert.c @@ -1636,14 +1636,6 @@ _gnutls_server_select_cert(gnutls_session_t session, const gnutls_cipher_suite_e return 0; } -/* Frees the rsa_info_st structure. - */ -void _gnutls_free_rsa_info(rsa_info_st * rsa) -{ - _gnutls_free_datum(&rsa->modulus); - _gnutls_free_datum(&rsa->exponent); -} - int _gnutls_gen_dhe_signature(gnutls_session_t session, gnutls_buffer_st * data, uint8_t * plain, unsigned plain_size) diff --git a/lib/auth/cert.h b/lib/auth/cert.h index 279f43f239..be999c946c 100644 --- a/lib/auth/cert.h +++ b/lib/auth/cert.h @@ -91,11 +91,6 @@ typedef struct gnutls_certificate_credentials_st { void *glob_ocsp_func_ptr; /* corresponding OCSP response function */ } certificate_credentials_st; -typedef struct rsa_info_st { - gnutls_datum_t modulus; - gnutls_datum_t exponent; -} rsa_info_st; - /* This is the information we keep for the peer * certificate. */ @@ -115,8 +110,6 @@ typedef struct cert_auth_info_st { typedef struct cert_auth_info_st cert_auth_info_st; -void _gnutls_free_rsa_info(rsa_info_st * rsa); - /* AUTH X509 functions */ int _gnutls_gen_cert_server_crt(gnutls_session_t, gnutls_buffer_st *); int _gnutls_gen_cert_client_crt(gnutls_session_t, gnutls_buffer_st *); |