Constify version strings is ssl lib.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 21 Jan 2007 16:06:05 +0000 (16:06 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 21 Jan 2007 16:06:05 +0000 (16:06 +0000)
ssl/d1_lib.c
ssl/s2_lib.c
ssl/s3_lib.c
ssl/t1_lib.c

index c002b0494ae8721566fbb9136d40432c65abc744..622d2f7f735822341a7223e1df832c2aa7b5a295 100644 (file)
@@ -61,7 +61,7 @@
 #include <openssl/objects.h>
 #include "ssl_locl.h"
 
-const char *dtls1_version_str="DTLSv1" OPENSSL_VERSION_PTEXT;
+const char dtls1_version_str[]="DTLSv1" OPENSSL_VERSION_PTEXT;
 
 SSL3_ENC_METHOD DTLSv1_enc_data={
     dtls1_enc,
index a454cac9f1ca5a0b5948f3dc69cddcb2661b34b9..debaece1d2928bc637fc2e2e7a4b077ab9b1cf3d 100644 (file)
@@ -63,7 +63,7 @@
 #include <openssl/evp.h>
 #include <openssl/md5.h>
 
-const char *ssl2_version_str="SSLv2" OPENSSL_VERSION_PTEXT;
+const char ssl2_version_str[]="SSLv2" OPENSSL_VERSION_PTEXT;
 
 #define SSL2_NUM_CIPHERS (sizeof(ssl2_ciphers)/sizeof(SSL_CIPHER))
 
index 5de7bac2008c2bf87f08494ec343d4c45c0a4e10..4527429b694d3c673e4cfa8195e787765b8fbfad 100644 (file)
 #include <openssl/dh.h>
 #endif
 
-const char *ssl3_version_str="SSLv3" OPENSSL_VERSION_PTEXT;
+const char ssl3_version_str[]="SSLv3" OPENSSL_VERSION_PTEXT;
 
 #define SSL3_NUM_CIPHERS       (sizeof(ssl3_ciphers)/sizeof(SSL_CIPHER))
 
index eeb6b576b5ecb421541dc1e9af06f056bc9d4e0c..9742c3f968e504e9de84c8b7b53ec6668aebc7ed 100644 (file)
 #include <openssl/objects.h>
 #include "ssl_locl.h"
 
-const char *tls1_version_str="TLSv1" OPENSSL_VERSION_PTEXT;
+const char tls1_version_str[]="TLSv1" OPENSSL_VERSION_PTEXT;
 
 SSL3_ENC_METHOD TLSv1_enc_data={
        tls1_enc,