summaryrefslogtreecommitdiff
path: root/lib/libkrb5/generated/asn1_KDCOptions.c
diff options
context:
space:
mode:
authorBjorn Sandell <biorn@cvs.openbsd.org>2006-04-14 08:24:43 +0000
committerBjorn Sandell <biorn@cvs.openbsd.org>2006-04-14 08:24:43 +0000
commit5a4ee3110ee6b3ae8ef7cb0d2a7bbd09e7ca1206 (patch)
tree48423b2ed05d73bfe56936e3ce858d55f7b67781 /lib/libkrb5/generated/asn1_KDCOptions.c
parent1fb60d0b09104c2afb46f00e7fc0be99226b30ab (diff)
fix for heimdal 0.7.2
Diffstat (limited to 'lib/libkrb5/generated/asn1_KDCOptions.c')
-rw-r--r--lib/libkrb5/generated/asn1_KDCOptions.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libkrb5/generated/asn1_KDCOptions.c b/lib/libkrb5/generated/asn1_KDCOptions.c
index 57f784b73f9..480e6a0f8e6 100644
--- a/lib/libkrb5/generated/asn1_KDCOptions.c
+++ b/lib/libkrb5/generated/asn1_KDCOptions.c
@@ -1,4 +1,4 @@
-/* Generated from /usr/src/lib/libkrb5/../../kerberosV/src/lib/asn1/k5.asn1 */
+/* Generated from /home/biorn/src/lib/libkrb5/../../kerberosV/src/lib/asn1/k5.asn1 */
/* Do not edit */
#include <stdio.h>
@@ -54,7 +54,7 @@ len -= 2;
ret += 2;
}
-e = der_put_length_and_tag (p, len, ret, UNIV, PRIM,UT_BitString, &l);
+e = der_put_length_and_tag (p, len, ret, ASN1_C_UNIV, PRIM,UT_BitString, &l);
BACK;
*size = ret;
return 0;
@@ -71,7 +71,7 @@ int e;
memset(data, 0, sizeof(*data));
reallen = 0;
-e = der_match_tag_and_length (p, len, UNIV, PRIM, UT_BitString,&reallen, &l);
+e = der_match_tag_and_length (p, len, ASN1_C_UNIV, PRIM, UT_BitString,&reallen, &l);
FORW;
if(len < reallen)
return ASN1_OVERRUN;
@@ -180,7 +180,7 @@ KDCOptions int2KDCOptions(unsigned n)
return flags;
}
-struct units KDCOptions_units[] = {
+static struct units KDCOptions_units[] = {
{"validate", 1U << 31},
{"renew", 1U << 30},
{"enc_tkt_in_skey", 1U << 28},
@@ -203,3 +203,7 @@ struct units KDCOptions_units[] = {
{NULL, 0}
};
+const struct units * asn1_KDCOptions_units(void){
+return KDCOptions_units;
+}
+