no C99 named struct initializers on Windows

commit f5f9014c90 added the
first use of C99 named struct initializers which are not
supported on Windows.  Remove their use in external.c and
in ks_dir.c.

Change-Id: Ibb6b2d5b3dbd4041cb638d2c7a9bd6f916fd45d7
This commit is contained in:
Jeffrey Altman
2011-05-16 23:20:23 -04:00
committed by Jeffrey Altman
parent 6850d6a65f
commit 6c1ad560ea
2 changed files with 14 additions and 10 deletions

View File

@@ -214,19 +214,19 @@ static gss_mo_desc krb5_mo[] = {
},
{
GSS_C_MA_AUTH_TARG,
.flags = GSS_MO_MA
GSS_MO_MA
},
{
GSS_C_MA_AUTH_INIT_ANON,
.flags = GSS_MO_MA
GSS_MO_MA
},
{
GSS_C_MA_DELEG_CRED,
.flags = GSS_MO_MA
GSS_MO_MA
},
{
GSS_C_MA_INTEG_PROT,
.flags = GSS_MO_MA
GSS_MO_MA
},
{
GSS_C_MA_CONF_PROT,

View File

@@ -202,12 +202,16 @@ dir_iter_end(hx509_context context,
static struct hx509_keyset_ops keyset_dir = {
.name = "DIR",
.init = dir_init,
.free = dir_free,
.iter_start = dir_iter_start,
.iter = dir_iter,
.iter_end = dir_iter_end,
"DIR",
0,
dir_init,
NULL,
dir_free,
NULL,
NULL,
dir_iter_start,
dir_iter,
dir_iter_end
};
void