diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-25 09:19:08 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-25 09:19:08 +0000 |
commit | 3d1c141575c1c58789aff5b38ec5dd6b479d6564 (patch) | |
tree | 00868ec140dce93a7501912362dec84e49f7a27b /lib/gnutls_cipher.h | |
parent | 76ba54e2ff610b5872245b0294699b8076a27f56 (diff) | |
download | gnutls-3d1c141575c1c58789aff5b38ec5dd6b479d6564.tar.gz |
header size is now written in gnutls_cipher.c
Diffstat (limited to 'lib/gnutls_cipher.h')
-rw-r--r-- | lib/gnutls_cipher.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_cipher.h b/lib/gnutls_cipher.h index a1a00c1df5..7720e0ed1b 100644 --- a/lib/gnutls_cipher.h +++ b/lib/gnutls_cipher.h @@ -18,9 +18,9 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -int _gnutls_encrypt( GNUTLS_STATE state, const char* data, size_t data_size, uint8** ciphertext, ContentType type); +int _gnutls_encrypt( GNUTLS_STATE state, const char* headers, int headers_size, const char* data, size_t data_size, uint8** ciphertext, ContentType type); int _gnutls_decrypt(GNUTLS_STATE state, char *ciphertext, size_t ciphertext_size, uint8 ** data, ContentType type); -int _gnutls_compressed2TLSCiphertext(GNUTLS_STATE state, gnutls_datum* cipher, gnutls_datum compressed, ContentType _type); +int _gnutls_compressed2TLSCiphertext(GNUTLS_STATE state, gnutls_datum* cipher, gnutls_datum compressed, ContentType _type, int headers_size); int _gnutls_ciphertext2TLSCompressed(GNUTLS_STATE state, gnutls_datum * compress, gnutls_datum ciphertext, uint8 type); |