diff src/cipher.c @ 13697:89ceef5203ac

[gaim-migrate @ 16100] Minor constification committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 28 Apr 2006 03:39:14 +0000
parents ff4e85e04adf
children ff94569010f5
line wrap: on
line diff
--- a/src/cipher.c	Thu Apr 27 22:29:26 2006 +0000
+++ b/src/cipher.c	Fri Apr 28 03:39:14 2006 +0000
@@ -897,7 +897,7 @@
  *  Does not check for weak keys.
  **/
 static void
-des_set_key (GaimCipherContext *context, guchar * key)
+des_set_key (GaimCipherContext *context, const guchar * key)
 {
 	struct _des_ctx *ctx = gaim_cipher_context_get_data(context);
 	int i;
@@ -1734,7 +1734,7 @@
 }
 
 void
-gaim_cipher_context_set_key(GaimCipherContext *context, guchar *key) {
+gaim_cipher_context_set_key(GaimCipherContext *context, const guchar *key) {
 	GaimCipher *cipher = NULL;
 
 	g_return_if_fail(context);