Add some const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2038 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -90,11 +90,11 @@ static int num_etypes = sizeof(em) / sizeof(em[0]);
|
|||||||
|
|
||||||
static krb5_error_code
|
static krb5_error_code
|
||||||
krb5_do_encrypt(krb5_context context,
|
krb5_do_encrypt(krb5_context context,
|
||||||
void *ptr,
|
void *ptr,
|
||||||
size_t len,
|
size_t len,
|
||||||
struct encryption_type *et,
|
struct encryption_type *et,
|
||||||
krb5_keyblock *keyblock,
|
const krb5_keyblock *keyblock,
|
||||||
krb5_data *result)
|
krb5_data *result)
|
||||||
{
|
{
|
||||||
size_t sz;
|
size_t sz;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
@@ -157,7 +157,7 @@ krb5_encrypt (krb5_context context,
|
|||||||
void *ptr,
|
void *ptr,
|
||||||
size_t len,
|
size_t len,
|
||||||
int etype,
|
int etype,
|
||||||
krb5_keyblock *keyblock,
|
const krb5_keyblock *keyblock,
|
||||||
krb5_data *result)
|
krb5_data *result)
|
||||||
{
|
{
|
||||||
struct encryption_type *e;
|
struct encryption_type *e;
|
||||||
@@ -171,7 +171,7 @@ krb5_decrypt (krb5_context context,
|
|||||||
void *ptr,
|
void *ptr,
|
||||||
size_t len,
|
size_t len,
|
||||||
int etype,
|
int etype,
|
||||||
krb5_keyblock *keyblock,
|
const krb5_keyblock *keyblock,
|
||||||
krb5_data *result)
|
krb5_data *result)
|
||||||
{
|
{
|
||||||
struct encryption_type *e;
|
struct encryption_type *e;
|
||||||
|
Reference in New Issue
Block a user