]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Added missing const.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 13 Apr 2011 17:50:28 +0000 (19:50 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 13 Apr 2011 17:50:28 +0000 (19:50 +0200)
lib/crypto-api.c

index 5fb633ebc7a9f223844e684598bdff720f787144..84a2419622d38ea6d19e58017c8ac1047a1cace5 100644 (file)
@@ -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,