Remove SSL_version_str
authorRichard Levitte <levitte@openssl.org>
Tue, 2 Oct 2018 16:57:39 +0000 (18:57 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 3 Oct 2018 20:15:15 +0000 (22:15 +0200)
I was never exported in our shared libraries and no one noticed, and
we don't seem to use it ourselves, so clean it away.

In all likelyhood, this is a remain from the 90's, when it was in
fashion to litter library modules with these kinds of strings.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7340)

include/openssl/ssl.h
ssl/ssl_lib.c

index 0a18a43544cb932611fa7933f9eec61f5819dafe..ffe158388d6ae486c10afd4c95250916a53a5d1c 100644 (file)
@@ -2392,8 +2392,6 @@ int SSL_CTX_set_session_ticket_cb(SSL_CTX *ctx,
 int SSL_SESSION_set1_ticket_appdata(SSL_SESSION *ss, const void *data, size_t len);
 int SSL_SESSION_get0_ticket_appdata(SSL_SESSION *ss, void **data, size_t *len);
 
-extern const char SSL_version_str[];
-
 typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
 
 void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb);
index ec5b1554f7cc47c20fa6d8344760b395ec5b8912..846b856af497c58d295a9b817684e1422d18f101 100644 (file)
@@ -23,8 +23,6 @@
 #include "internal/cryptlib.h"
 #include "internal/refcount.h"
 
-const char SSL_version_str[] = OPENSSL_VERSION_TEXT;
-
 static int ssl_undefined_function_1(SSL *ssl, SSL3_RECORD *r, size_t s, int t)
 {
     (void)r;