summaryrefslogtreecommitdiff
path: root/lib/libkrb5/generated/asn1_PA_ENC_TS_ENC.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_PA_ENC_TS_ENC.c
parent1fb60d0b09104c2afb46f00e7fc0be99226b30ab (diff)
fix for heimdal 0.7.2
Diffstat (limited to 'lib/libkrb5/generated/asn1_PA_ENC_TS_ENC.c')
-rw-r--r--lib/libkrb5/generated/asn1_PA_ENC_TS_ENC.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libkrb5/generated/asn1_PA_ENC_TS_ENC.c b/lib/libkrb5/generated/asn1_PA_ENC_TS_ENC.c
index c4bd3870d8c..d3cc8b26d83 100644
--- a/lib/libkrb5/generated/asn1_PA_ENC_TS_ENC.c
+++ b/lib/libkrb5/generated/asn1_PA_ENC_TS_ENC.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>
@@ -27,7 +27,7 @@ int oldret = ret;
ret = 0;
e = encode_integer(p, len, (data)->pausec, &l);
BACK;
-e = der_put_length_and_tag (p, len, ret, CONTEXT, CONS, 1, &l);
+e = der_put_length_and_tag (p, len, ret, ASN1_C_CONTEXT, CONS, 1, &l);
BACK;
ret += oldret;
}
@@ -36,11 +36,11 @@ int oldret = ret;
ret = 0;
e = encode_KerberosTime(p, len, &(data)->patimestamp, &l);
BACK;
-e = der_put_length_and_tag (p, len, ret, CONTEXT, CONS, 0, &l);
+e = der_put_length_and_tag (p, len, ret, ASN1_C_CONTEXT, CONS, 0, &l);
BACK;
ret += oldret;
}
-e = der_put_length_and_tag (p, len, ret, UNIV, CONS, UT_Sequence, &l);
+e = der_put_length_and_tag (p, len, ret, ASN1_C_UNIV, CONS, UT_Sequence, &l);
BACK;
*size = ret;
return 0;
@@ -57,7 +57,7 @@ int e;
memset(data, 0, sizeof(*data));
reallen = 0;
-e = der_match_tag_and_length (p, len, UNIV, CONS, UT_Sequence,&reallen, &l);
+e = der_match_tag_and_length (p, len, ASN1_C_UNIV, CONS, UT_Sequence,&reallen, &l);
FORW;
{
int dce_fix;
@@ -66,7 +66,7 @@ return ASN1_BAD_FORMAT;
{
size_t newlen, oldlen;
-e = der_match_tag (p, len, CONTEXT, CONS, 0, &l);
+e = der_match_tag (p, len, ASN1_C_CONTEXT, CONS, 0, &l);
if (e)
return e;
else {
@@ -92,7 +92,7 @@ len = oldlen - newlen;
{
size_t newlen, oldlen;
-e = der_match_tag (p, len, CONTEXT, CONS, 1, &l);
+e = der_match_tag (p, len, ASN1_C_CONTEXT, CONS, 1, &l);
if (e)
(data)->pausec = NULL;
else {
@@ -135,6 +135,7 @@ free_PA_ENC_TS_ENC(PA_ENC_TS_ENC *data)
free_KerberosTime(&(data)->patimestamp);
if((data)->pausec) {
free((data)->pausec);
+(data)->pausec = NULL;
}
}