]> granicus.if.org Git - curl/commitdiff
lib/vtls/openssl: remove unused traces of yassl ifdefs
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 14:48:04 +0000 (15:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 14:48:04 +0000 (15:48 +0100)
lib/vtls/openssl.c

index d3c63c7cb30ce1ed36c3f3a6fd9db646f47a9863..4db387a8e5f285361098064f02e924e8285cb730 100644 (file)
@@ -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 */