diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-10-10 09:54:13 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-11-19 15:44:44 +0000 |
commit | 126003fc87fa2e8dea03a40c8f2c5d5acbac96bf (patch) | |
tree | f9b5ea6fe6b02d23cad24d17858387c306b0f239 | |
parent | d126cd4ac866e9a1c162e95b5a09789f8a34da5e (diff) | |
download | gnutls-126003fc87fa2e8dea03a40c8f2c5d5acbac96bf.tar.gz |
removed legacy/unused rsa-related structures/functions
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-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 *); |