lib/vtls/openssl: remove unused traces of yassl ifdefs
This commit is contained in:
parent
eb3703f052
commit
431ba85829
@ -2947,11 +2947,6 @@ static ssize_t ossl_recv(struct connectdata *conn, /* connection data */
|
||||
|
||||
size_t Curl_ossl_version(char *buffer, size_t size)
|
||||
{
|
||||
#ifdef YASSL_VERSION
|
||||
/* yassl provides an OpenSSL API compatibility layer so it looks identical
|
||||
to OpenSSL in all other aspects */
|
||||
return snprintf(buffer, size, "yassl/%s", YASSL_VERSION);
|
||||
#else /* YASSL_VERSION */
|
||||
#ifdef OPENSSL_IS_BORINGSSL
|
||||
return snprintf(buffer, size, "BoringSSL");
|
||||
#else /* OPENSSL_IS_BORINGSSL */
|
||||
@ -3022,7 +3017,6 @@ size_t Curl_ossl_version(char *buffer, size_t size)
|
||||
#endif /* OPENSSL_VERSION_NUMBER is less than 0.9.5 */
|
||||
|
||||
#endif /* OPENSSL_IS_BORINGSSL */
|
||||
#endif /* YASSL_VERSION */
|
||||
}
|
||||
|
||||
/* can be called with data == NULL */
|
||||
|
Loading…
x
Reference in New Issue
Block a user