summaryrefslogtreecommitdiff
path: root/lib/gnutls_hash_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-06-15 16:57:20 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-06-15 16:57:20 +0000
commit6bbad670fc75632fd03a9cf56dc5e0ce6a196d4c (patch)
treec7b902dd3c26dc5c73e72d651084adb884b5ad31 /lib/gnutls_hash_int.h
parent962ec6bdec17f6fea0603f50bcd418f5e4d0b01d (diff)
downloadgnutls-6bbad670fc75632fd03a9cf56dc5e0ce6a196d4c.tar.gz
several additions in order to support KX_RSA and X509PKI.
Diffstat (limited to 'lib/gnutls_hash_int.h')
-rw-r--r--lib/gnutls_hash_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_hash_int.h b/lib/gnutls_hash_int.h
index dd2b7ce53f..ae516325d3 100644
--- a/lib/gnutls_hash_int.h
+++ b/lib/gnutls_hash_int.h
@@ -49,7 +49,7 @@ typedef GNUTLS_MAC_HANDLE_INT* GNUTLS_MAC_HANDLE;
GNUTLS_MAC_HANDLE gnutls_hmac_init( MACAlgorithm algorithm, void* key, int keylen);
int gnutls_hmac_get_algo_len(MACAlgorithm algorithm);
-int gnutls_hmac(GNUTLS_MAC_HANDLE handle, void* text, int textlen);
+int gnutls_hmac(GNUTLS_MAC_HANDLE handle, const void* text, int textlen);
void* gnutls_hmac_deinit( GNUTLS_MAC_HANDLE handle);
GNUTLS_MAC_HANDLE gnutls_mac_init_ssl3( MACAlgorithm algorithm, void* key, int keylen);
@@ -57,7 +57,7 @@ void* gnutls_mac_deinit_ssl3( GNUTLS_MAC_HANDLE handle);
GNUTLS_MAC_HANDLE gnutls_hash_init(MACAlgorithm algorithm);
int gnutls_hash_get_algo_len(MACAlgorithm algorithm);
-int gnutls_hash(GNUTLS_MAC_HANDLE handle, void* text, int textlen);
+int gnutls_hash(GNUTLS_MAC_HANDLE handle, const void* text, int textlen);
void* gnutls_hash_deinit(GNUTLS_MAC_HANDLE handle);
void *gnutls_ssl3_generate_random(void *secret, int secret_len, void *random, int random_len, int bytes);