Merge remote-tracking branch 'origin/topic/jsiwek/krb-consts-defaults'

* origin/topic/jsiwek/krb-consts-defaults:
  Add default function for Kerberos constant-lookup-tables
This commit is contained in:
Johanna Amann 2020-04-16 12:59:41 -07:00
commit df71d963c9
4 changed files with 13 additions and 4 deletions

View file

@ -71,7 +71,7 @@ export {
[74] = "KDC_ERR_REVOCATION_STATUS_UNAVAILABLE",
[75] = "KDC_ERR_CLIENT_NAME_MISMATCH",
[76] = "KDC_ERR_KDC_NAME_MISMATCH",
};
} &default=function(i: count): string { return fmt("unknown-%d", i); };
const cipher_name: table[count] of string = {
[1] = "des-cbc-crc",
@ -94,6 +94,6 @@ export {
[25] = "camellia128-cts-cmac",
[26] = "camellia256-cts-cmac",
[65] = "subkey-keymaterial",
};
} &default=function(i: count): string { return fmt("unknown-%d", i); };
}