+2003-12-19 Ken Raeburn <raeburn@mit.edu>
+
+ * util_crypt.c (kg_encrypt, kg_decrypt): Input pointer now points
+ to const.
+ * gssapiP_krb5.h: Declarations updated.
+ * util_seed.c (zeros): Now const.
+
2003-12-19 Tom Yu <tlyu@mit.edu>
* init_sec_context.c: Include k5-int.h for accessor.
krb5_error_code kg_encrypt (krb5_context context,
krb5_keyblock *key, int usage,
krb5_pointer iv,
- krb5_pointer in,
+ krb5_const_pointer in,
krb5_pointer out,
unsigned int length);
krb5_error_code
krb5_error_code kg_decrypt (krb5_context context,
krb5_keyblock *key, int usage,
krb5_pointer iv,
- krb5_pointer in,
+ krb5_const_pointer in,
krb5_pointer out,
unsigned int length);
#include <memory.h>
#endif
-static unsigned char zeros[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0};
+static const unsigned char zeros[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0};
krb5_error_code
kg_make_seed(context, key, seed)