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:
@@ -4,7 +4,7 @@ BEGIN
|
|||||||
|
|
||||||
IMPORTS EncryptionKey, KerberosTime, Principal FROM krb5;
|
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
|
-- update when making changes
|
||||||
|
|
||||||
-- these must have the same value as the pa-* counterparts
|
-- these must have the same value as the pa-* counterparts
|
||||||
|
@@ -46,6 +46,8 @@
|
|||||||
#include <heim_asn1.h>
|
#include <heim_asn1.h>
|
||||||
#include <hdb_asn1.h>
|
#include <hdb_asn1.h>
|
||||||
|
|
||||||
|
#define HDB_DB_FORMAT hdb_db_format
|
||||||
|
|
||||||
typedef HDB_keyset hdb_keyset;
|
typedef HDB_keyset hdb_keyset;
|
||||||
typedef HDB_entry hdb_entry;
|
typedef HDB_entry hdb_entry;
|
||||||
typedef HDB_entry_alias hdb_entry_alias;
|
typedef HDB_entry_alias hdb_entry_alias;
|
||||||
|
Reference in New Issue
Block a user