openssl: simplify expression in Curl_ossl_version

This commit is contained in:
Michael Kaufmann 2016-12-18 13:09:51 +01:00
parent afff64dbcd
commit f9484d9fb1
1 changed files with 1 additions and 1 deletions

View File

@ -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