lib/vtls/openssl: remove unused traces of yassl ifdefs
This commit is contained in:
@@ -2947,11 +2947,6 @@ static ssize_t ossl_recv(struct connectdata *conn, /* connection data */
|
|||||||
|
|
||||||
size_t Curl_ossl_version(char *buffer, size_t size)
|
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
|
#ifdef OPENSSL_IS_BORINGSSL
|
||||||
return snprintf(buffer, size, "BoringSSL");
|
return snprintf(buffer, size, "BoringSSL");
|
||||||
#else /* OPENSSL_IS_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_VERSION_NUMBER is less than 0.9.5 */
|
||||||
|
|
||||||
#endif /* OPENSSL_IS_BORINGSSL */
|
#endif /* OPENSSL_IS_BORINGSSL */
|
||||||
#endif /* YASSL_VERSION */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* can be called with data == NULL */
|
/* can be called with data == NULL */
|
||||||
|
|||||||
Reference in New Issue
Block a user