From: Nikos Mavrogiannopoulos Date: Wed, 13 Apr 2011 17:50:28 +0000 (+0200) Subject: Added missing const. X-Git-Tag: gnutls_2_99_1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8c4c16f7dce5b430b9d61b91a5a91e3d8b4ea2;p=thirdparty%2Fgnutls.git Added missing const. --- diff --git a/lib/crypto-api.c b/lib/crypto-api.c index 5fb633ebc7..84a2419622 100644 --- a/lib/crypto-api.c +++ b/lib/crypto-api.c @@ -186,7 +186,7 @@ gnutls_cipher_decrypt (gnutls_cipher_hd_t handle, void *ciphertext, * Since: 2.10.0 **/ int -gnutls_cipher_encrypt2 (gnutls_cipher_hd_t handle, void *text, size_t textlen, +gnutls_cipher_encrypt2 (gnutls_cipher_hd_t handle, const void *text, size_t textlen, void *ciphertext, size_t ciphertextlen) { return _gnutls_cipher_encrypt2 ((cipher_hd_st *) handle, text, textlen,