summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-08 15:23:13 +0200
committerSimon Josefsson <simon@josefsson.org>2008-10-08 15:23:13 +0200
commit2fdda6dc8ae0053f72f1e21dcab781d9da81d172 (patch)
tree0abc0dd9b0e4a9dc33435a90d6f8652f11b78686 /src
parenta59d06403ef4e5392b2ab0784da6a935219457d0 (diff)
downloadlibtasn1-2fdda6dc8ae0053f72f1e21dcab781d9da81d172.tar.gz
Update usages of MAX_* constants.
Diffstat (limited to 'src')
-rw-r--r--src/asn1Coding.c2
-rw-r--r--src/asn1Decoding.c2
-rw-r--r--src/asn1Parser.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/asn1Coding.c b/src/asn1Coding.c
index b0b7894..4cb763f 100644
--- a/src/asn1Coding.c
+++ b/src/asn1Coding.c
@@ -126,7 +126,7 @@ main(int argc,char *argv[])
int checkSyntaxOnly=0;
ASN1_TYPE definitions=ASN1_TYPE_EMPTY;
ASN1_TYPE structure=ASN1_TYPE_EMPTY;
- char errorDescription[MAX_ERROR_DESCRIPTION_SIZE];
+ char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE];
int asn1_result=ASN1_SUCCESS;
FILE *outputFile;
FILE *inputFile;
diff --git a/src/asn1Decoding.c b/src/asn1Decoding.c
index 87ce973..e6ee47f 100644
--- a/src/asn1Decoding.c
+++ b/src/asn1Decoding.c
@@ -73,7 +73,7 @@ main(int argc,char *argv[])
int checkSyntaxOnly=0;
ASN1_TYPE definitions=ASN1_TYPE_EMPTY;
ASN1_TYPE structure=ASN1_TYPE_EMPTY;
- char errorDescription[MAX_ERROR_DESCRIPTION_SIZE];
+ char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE];
int asn1_result=ASN1_SUCCESS;
unsigned char *der;
int der_len=0;
diff --git a/src/asn1Parser.c b/src/asn1Parser.c
index b968f22..b591f79 100644
--- a/src/asn1Parser.c
+++ b/src/asn1Parser.c
@@ -76,7 +76,7 @@ main(int argc,char *argv[])
char *vectorName=NULL;
int checkSyntaxOnly=0;
ASN1_TYPE pointer=ASN1_TYPE_EMPTY;
- char errorDescription[MAX_ERROR_DESCRIPTION_SIZE];
+ char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE];
int parse_result=ASN1_SUCCESS;
set_program_name (argv[0]);