Mercurial > pidgin.yaz
diff src/cipher.h @ 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 | e024601d45c7 |
children |
line wrap: on
line diff
--- a/src/cipher.h Thu Apr 27 22:29:26 2006 +0000 +++ b/src/cipher.h Fri Apr 28 03:39:14 2006 +0000 @@ -98,7 +98,7 @@ size_t (*get_salt_size)(GaimCipherContext *context); /** The set key function */ - void (*set_key)(GaimCipherContext *context, guchar *key); + void (*set_key)(GaimCipherContext *context, const guchar *key); /** The get key size function */ size_t (*get_key_size)(GaimCipherContext *context); @@ -358,7 +358,7 @@ * @param context The context who's key to set * @param key The key */ -void gaim_cipher_context_set_key(GaimCipherContext *context, guchar *key); +void gaim_cipher_context_set_key(GaimCipherContext *context, const guchar *key); /** * Gets the key size for a context