aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_gentm.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-10-13 15:51:32 +0000
committerAndy Polyakov <appro@openssl.org>2007-10-13 15:51:32 +0000
commitebc06fba67a84f4fb397863f6e5eb4212c25d4e5 (patch)
tree8688a563283d23f3cf82d718366ae4c1d5d17c8d /crypto/asn1/a_gentm.c
parente979c039f937f746a06948aa3749c200c5a5cadd (diff)
downloadopenssl-ebc06fba67a84f4fb397863f6e5eb4212c25d4e5.tar.gz
Bunch of constifications.
Diffstat (limited to 'crypto/asn1/a_gentm.c')
-rw-r--r--crypto/asn1/a_gentm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/a_gentm.c b/crypto/asn1/a_gentm.c
index 4114f7e31a..9a9caafe8f 100644
--- a/crypto/asn1/a_gentm.c
+++ b/crypto/asn1/a_gentm.c
@@ -117,8 +117,8 @@ err:
int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *d)
{
- static int min[9]={ 0, 0, 1, 1, 0, 0, 0, 0, 0};
- static int max[9]={99, 99,12,31,23,59,59,12,59};
+ static const int min[9]={ 0, 0, 1, 1, 0, 0, 0, 0, 0};
+ static const int max[9]={99, 99,12,31,23,59,59,12,59};
char *a;
int n,i,l,o;