diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2016-12-18 13:09:51 +0100 |
---|---|---|
committer | Michael Kaufmann <mail@michael-kaufmann.ch> | 2016-12-18 13:09:51 +0100 |
commit | f9484d9fb1d02d0e9a1755a485c86ed0b8c4c2ee (patch) | |
tree | f7d1611f1995be1c692a3ee07c69883d8b5b5c4a /lib | |
parent | afff64dbcde9cf45956f5557a8270b21c0e93dd5 (diff) |
openssl: simplify expression in Curl_ossl_version
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 94410df4b..d92e71365 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -3255,7 +3255,7 @@ size_t Curl_ossl_version(char *buffer, size_t size) sub[0] = 'z'; } else { - sub[0]=(char)(((ssleay_value>>4)&0xff) + 'a' -1); + sub[0] = (char) (minor_ver + 'a' - 1); } } else |