Skip to content

lib/vtls/openssl: remove get_ssl_version_txt in favor of SSL_get_version - #6665

Closed
jpmenil wants to merge 1 commit into
curl:masterfrom
jpmenil:del/get_ssl_version_txt
Closed

lib/vtls/openssl: remove get_ssl_version_txt in favor of SSL_get_version#6665
jpmenil wants to merge 1 commit into
curl:masterfrom
jpmenil:del/get_ssl_version_txt

Conversation

@jpmenil

@jpmenil jpmenil commented Feb 26, 2021

Copy link
Copy Markdown
Contributor

We can get rid of few lines of code, since SSL_get_version achieve the exact same thing

Signed-off-by: Jean-Philippe Menil jpmenil@gmail.com

We can get rid of few lines of code, since SSL_get_version achieve the exact same thing

Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
Comment thread lib/vtls/openssl.c
/* Informational message */
infof(data, "SSL connection using %s / %s\n",
get_ssl_version_txt(backend->handle),
SSL_get_version(backend->handle),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenSSL supports this all the way back to 0.9.8 so this seems like a neat simplification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants