make word table and reverse word table constant
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1708 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -48,7 +48,7 @@ struct e {
|
|||||||
unsigned n;
|
unsigned n;
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct e inv_std_dict[] = {
|
static const struct e inv_std_dict[] = {
|
||||||
{"A", 0},
|
{"A", 0},
|
||||||
{"ABE", 1},
|
{"ABE", 1},
|
||||||
{"ABED", 571},
|
{"ABED", 571},
|
||||||
|
@@ -43,7 +43,7 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
#include "otp_locl.h"
|
#include "otp_locl.h"
|
||||||
|
|
||||||
static char *std_dict[] =
|
static const char *std_dict[] =
|
||||||
|
|
||||||
{ "A", "ABE", "ACE", "ACT", "AD", "ADA", "ADD",
|
{ "A", "ABE", "ACE", "ACT", "AD", "ADA", "ADD",
|
||||||
"AGO", "AID", "AIM", "AIR", "ALL", "ALP", "AM", "AMY",
|
"AGO", "AID", "AIM", "AIR", "ALL", "ALP", "AM", "AMY",
|
||||||
|
Reference in New Issue
Block a user