summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_int.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-01-21 14:07:17 +0100
committerDr. Stephen Henson <steve@openssl.org>2007-01-21 14:07:17 +0100
commit560b79cbff4bc4c6898a862b18b4a00961099095 (patch)
treef8e7aa2e98aef172f3ce73b4094ffd1c1e5f7145 /crypto/x509v3/v3_int.c
parentAdd AOL an AOLTW root CAs to bundle. (diff)
downloadopenssl-560b79cbff4bc4c6898a862b18b4a00961099095.tar.xz
openssl-560b79cbff4bc4c6898a862b18b4a00961099095.zip
Constify version strings and some structures.
Diffstat (limited to 'crypto/x509v3/v3_int.c')
-rw-r--r--crypto/x509v3/v3_int.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509v3/v3_int.c b/crypto/x509v3/v3_int.c
index 85e79c05ca..9a48dc1508 100644
--- a/crypto/x509v3/v3_int.c
+++ b/crypto/x509v3/v3_int.c
@@ -60,14 +60,14 @@
#include "cryptlib.h"
#include <openssl/x509v3.h>
-X509V3_EXT_METHOD v3_crl_num = {
+const X509V3_EXT_METHOD v3_crl_num = {
NID_crl_number, 0, ASN1_ITEM_ref(ASN1_INTEGER),
0,0,0,0,
(X509V3_EXT_I2S)i2s_ASN1_INTEGER,
0,
0,0,0,0, NULL};
-X509V3_EXT_METHOD v3_delta_crl = {
+const X509V3_EXT_METHOD v3_delta_crl = {
NID_delta_crl, 0, ASN1_ITEM_ref(ASN1_INTEGER),
0,0,0,0,
(X509V3_EXT_I2S)i2s_ASN1_INTEGER,
@@ -79,7 +79,7 @@ static void * s2i_asn1_int(X509V3_EXT_METHOD *meth, X509V3_CTX *ctx, char *value
return s2i_ASN1_INTEGER(meth, value);
}
-X509V3_EXT_METHOD v3_inhibit_anyp = {
+const X509V3_EXT_METHOD v3_inhibit_anyp = {
NID_inhibit_any_policy, 0, ASN1_ITEM_ref(ASN1_INTEGER),
0,0,0,0,
(X509V3_EXT_I2S)i2s_ASN1_INTEGER,