(encrypt_init, Name): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7807 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -89,7 +89,7 @@ static int autoencrypt = 0;
|
|||||||
static int autodecrypt = 0;
|
static int autodecrypt = 0;
|
||||||
static int havesessionkey = 0;
|
static int havesessionkey = 0;
|
||||||
static int Server = 0;
|
static int Server = 0;
|
||||||
static char *Name = "Noname";
|
static const char *Name = "Noname";
|
||||||
|
|
||||||
#define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
|
#define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
|
||||||
|
|
||||||
@@ -175,7 +175,7 @@ static struct key_info {
|
|||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
encrypt_init(char *name, int server)
|
encrypt_init(const char *name, int server)
|
||||||
{
|
{
|
||||||
Encryptions *ep = encryptions;
|
Encryptions *ep = encryptions;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user