summaryrefslogtreecommitdiff
path: root/lib/gnutls_cipher.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-04 12:52:32 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-04 12:52:32 +0000
commit4b04282504153b2d33ebd039c6422b7f2666f182 (patch)
tree9a8ad39c966b4d03a8b995e0e6081fb0e796c966 /lib/gnutls_cipher.h
parentf6c3f96897a61ff9553d73da4643149fba7019fa (diff)
downloadgnutls-4b04282504153b2d33ebd039c6422b7f2666f182.tar.gz
some type fixes. Based on build logs sent by Dimitri Papadopoulos-Orfanos <papadopo@shfj.cea.fr>.
Diffstat (limited to 'lib/gnutls_cipher.h')
-rw-r--r--lib/gnutls_cipher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_cipher.h b/lib/gnutls_cipher.h
index 003f3160ab..088ecfc91f 100644
--- a/lib/gnutls_cipher.h
+++ b/lib/gnutls_cipher.h
@@ -18,10 +18,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
-int _gnutls_encrypt( gnutls_session session, const char* headers, size_t headers_size, const char* data, size_t data_size,
+int _gnutls_encrypt( gnutls_session session, const opaque* headers, size_t headers_size, const opaque* data, size_t data_size,
opaque* ciphertext, size_t ciphertext_size, ContentType type, int random_pad);
-int _gnutls_decrypt(gnutls_session session, char *ciphertext,
+int _gnutls_decrypt(gnutls_session session, opaque *ciphertext,
size_t ciphertext_size, uint8 * data, size_t data_size,
ContentType type);
int _gnutls_compressed2ciphertext(gnutls_session session, opaque* cipher_data, int cipher_size, gnutls_datum compressed,