Constify version strings is ssl lib.

This commit is contained in:
Dr. Stephen Henson 2007-01-21 16:06:05 +00:00
parent 560b79cbff
commit 42182852f5
4 changed files with 4 additions and 4 deletions

View 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,

View 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))

View file

@ -162,7 +162,7 @@
#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))

View file

@ -113,7 +113,7 @@
#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,