summaryrefslogtreecommitdiff
path: root/third_party/heimdal/lib
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2023-05-17 09:06:17 +1200
committerAndrew Bartlett <abartlet@samba.org>2023-05-18 01:03:37 +0000
commiteeebd488f2a31482f2c47a1618513c937041c3ac (patch)
tree8b43d6c3130688022d0c97181e50bc19f7383f8b /third_party/heimdal/lib
parentf547cf1db865f93f634e561945da9da44c697f29 (diff)
downloadsamba-eeebd488f2a31482f2c47a1618513c937041c3ac.tar.gz
third_party/heimdal: Import lorikeet-heimdal-202305160500 (commit 8836d64dee78a74aa740e31b7ad406b8a8cfdad0)
NOTE: THIS COMMIT WON’T COMPILE/WORK ON ITS OWN! Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'third_party/heimdal/lib')
-rw-r--r--third_party/heimdal/lib/hdb/hdb.asn14
-rw-r--r--third_party/heimdal/lib/hdb/hdb.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/third_party/heimdal/lib/hdb/hdb.asn1 b/third_party/heimdal/lib/hdb/hdb.asn1
index 1a763de3d44..341927f2f0d 100644
--- a/third_party/heimdal/lib/hdb/hdb.asn1
+++ b/third_party/heimdal/lib/hdb/hdb.asn1
@@ -232,8 +232,8 @@ HDB_entry ::= SEQUENCE {
valid-start[5] KerberosTime OPTIONAL,
valid-end[6] KerberosTime OPTIONAL,
pw-end[7] KerberosTime OPTIONAL,
- max-life[8] INTEGER (0..4294967295) OPTIONAL,
- max-renew[9] INTEGER (0..4294967295) OPTIONAL,
+ max-life[8] INTEGER (-2147483648..2147483647) OPTIONAL,
+ max-renew[9] INTEGER (-2147483648..2147483647) OPTIONAL,
flags[10] HDBFlags,
etypes[11] HDB-EncTypeList OPTIONAL,
generation[12] GENERATION OPTIONAL,
diff --git a/third_party/heimdal/lib/hdb/hdb.h b/third_party/heimdal/lib/hdb/hdb.h
index 2a3d1c4bb8c..87377513d54 100644
--- a/third_party/heimdal/lib/hdb/hdb.h
+++ b/third_party/heimdal/lib/hdb/hdb.h
@@ -77,6 +77,7 @@ enum hdb_lockop{ HDB_RLOCK, HDB_WLOCK };
#define HDB_F_DELAY_NEW_KEYS 0x08000 /* apply [hdb] new_service_key_delay */
#define HDB_F_SYNTHETIC_OK 0x10000 /* synthetic principal for PKINIT or GSS preauth OK */
#define HDB_F_GET_FAST_COOKIE 0x20000 /* fetch the FX-COOKIE key (not a normal principal) */
+#define HDB_F_ARMOR_PRINCIPAL 0x40000 /* fetch is for the client of an armor ticket */
/* hdb_capability_flags */
#define HDB_CAP_F_HANDLE_ENTERPRISE_PRINCIPAL 1