[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Wed Oct 3 20:15:21 UTC 2018

The branch master has been updated
       via  18958cefd82449daf3c589b74a074f0c88159d47 (commit)
      from  1b39bc9bcf2c8a0eb1047529feb91ed00c8c6ff7 (commit)

- Log -----------------------------------------------------------------
commit 18958cefd82449daf3c589b74a074f0c88159d47
Author: Richard Levitte <levitte at openssl.org>
Date:   Tue Oct 2 18:57:39 2018 +0200

    Remove SSL_version_str
    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 at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/7340)


Summary of changes:
 include/openssl/ssl.h | 2 --
 ssl/ssl_lib.c         | 2 --
 2 files changed, 4 deletions(-)

diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 0a18a43..ffe1583 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -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);
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index ec5b155..846b856 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -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)

More information about the openssl-commits mailing list