hdb: Lower-case HDB_DB_FORMAT to make it valid ASN.1

In order to resolve some shift/reduce conflicts in the ASn.1 compiler's
grammar we need to be strict about value names starting with lower case
and type names starting with upper-case.
This commit is contained in:
Nicolas Williams
2022-01-21 22:32:25 -06:00
parent 37f10aaf85
commit f0f6bb03f4
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ BEGIN
IMPORTS EncryptionKey, KerberosTime, Principal FROM krb5;
HDB_DB_FORMAT INTEGER ::= 2 -- format of database,
hdb_db_format INTEGER ::= 2 -- format of database,
-- update when making changes
-- these must have the same value as the pa-* counterparts

View File

@@ -46,6 +46,8 @@
#include <heim_asn1.h>
#include <hdb_asn1.h>
#define HDB_DB_FORMAT hdb_db_format
typedef HDB_keyset hdb_keyset;
typedef HDB_entry hdb_entry;
typedef HDB_entry_alias hdb_entry_alias;