diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2000-12-11 13:43:20 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2000-12-11 13:43:20 +0000 |
commit | 331fbb1b8c377229b10799ae7f23c59d22726413 (patch) | |
tree | e04d61fd845dd3e6922dfa2b6ea20c5c4ca44ebd /lib/gnutls.c | |
parent | 15f8719e1e7b8a64fbf4eb7719795097dee5979b (diff) | |
download | gnutls-331fbb1b8c377229b10799ae7f23c59d22726413.tar.gz |
added some new functions in the API. documentation updated.
Diffstat (limited to 'lib/gnutls.c')
-rw-r--r-- | lib/gnutls.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gnutls.c b/lib/gnutls.c index 0f54986b55..cf97b21b91 100644 --- a/lib/gnutls.c +++ b/lib/gnutls.c @@ -731,3 +731,12 @@ ssize_t gnutls_recv_int(int cd, GNUTLS_STATE state, ContentType type, char *data return ret; } +BulkCipherAlgorithm gnutls_get_current_cipher( GNUTLS_STATE state) { + return state->security_parameters.bulk_cipher_algorithm; +} +MACAlgorithm gnutls_get_current_mac_algorithm( GNUTLS_STATE state) { + return state->security_parameters.mac_algorithm; +} +CompressionMethod gnutls_get_current_compression_method( GNUTLS_STATE state) { + return state->security_parameters.compression_algorithm; +} |