summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-01-21 13:07:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-01-21 13:07:17 +0000
commit560b79cbff4bc4c6898a862b18b4a00961099095 (patch)
treef8e7aa2e98aef172f3ce73b4094ffd1c1e5f7145 /crypto/conf
parenta6d799d7052fadb14316a0d8f9ee3abf3d9f482c (diff)
Constify version strings and some structures.
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf_def.c2
-rw-r--r--crypto/conf/conf_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c
index 8083a009d7..d8bce8732a 100644
--- a/crypto/conf/conf_def.c
+++ b/crypto/conf/conf_def.c
@@ -88,7 +88,7 @@ static int def_dump(const CONF *conf, BIO *bp);
static int def_is_number(const CONF *conf, char c);
static int def_to_int(const CONF *conf, char c);
-const char *CONF_def_version="CONF_def" OPENSSL_VERSION_PTEXT;
+const char CONF_def_version[]="CONF_def" OPENSSL_VERSION_PTEXT;
static CONF_METHOD default_method = {
"OpenSSL default",
diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c
index a55a5457c6..2a3399d269 100644
--- a/crypto/conf/conf_lib.c
+++ b/crypto/conf/conf_lib.c
@@ -63,7 +63,7 @@
#include <openssl/conf_api.h>
#include <openssl/lhash.h>
-const char *CONF_version="CONF" OPENSSL_VERSION_PTEXT;
+const char CONF_version[]="CONF" OPENSSL_VERSION_PTEXT;
static CONF_METHOD *default_CONF_method=NULL;