ifdef protect label that is only uesd with pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13451 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -473,7 +473,7 @@ get_pa_etype_info2(METHOD_DATA *md, hdb_entry *client,
|
||||
|
||||
for(j = 0; j < etypes_len; j++) {
|
||||
for(i = 0; i < client->keys.len; i++) {
|
||||
if(client->keys.val[i].key.keytype == etypes[j])
|
||||
if(client->keys.val[i].key.keytype == etypes[j]) {
|
||||
if((ret = make_etype_info2_entry(&pa.val[n++],
|
||||
&client->keys.val[i])) != 0) {
|
||||
free_ETYPE_INFO2(&pa);
|
||||
@@ -481,6 +481,7 @@ get_pa_etype_info2(METHOD_DATA *md, hdb_entry *client,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for(i = 0; i < client->keys.len; i++) {
|
||||
for(j = 0; j < etypes_len; j++) {
|
||||
if(client->keys.val[i].key.keytype == etypes[j])
|
||||
@@ -841,7 +842,9 @@ as_rep(KDC_REQ *req,
|
||||
client_name);
|
||||
break;
|
||||
}
|
||||
#ifdef PKINIT
|
||||
preauth_done:
|
||||
#endif
|
||||
if(found_pa == 0 && require_preauth)
|
||||
goto use_pa;
|
||||
/* We come here if we found a pa-enc-timestamp, but if there
|
||||
|
Reference in New Issue
Block a user