f5b30cc28c
A recent change to curl[1] added support for HTTPS proxies, which
involves running a TLS connection inside another TLS connection. This
was done by using SSL BIOs, which we removed from BoringSSL for being
crazy.
This change adds a stripped-down version of the SSL BIO to decrepit in
order to suport curl.
[1] cb4e2be7c6
Change-Id: I9cb8f2db5b28a5a70724f6f93544297c380ac124
Reviewed-on: https://boringssl-review.googlesource.com/12631
Reviewed-by: Adam Langley <agl@google.com>
38 lines
894 B
CMake
38 lines
894 B
CMake
add_subdirectory(bio)
|
|
add_subdirectory(biossl)
|
|
add_subdirectory(blowfish)
|
|
add_subdirectory(cast)
|
|
add_subdirectory(des)
|
|
add_subdirectory(dh)
|
|
add_subdirectory(dsa)
|
|
add_subdirectory(evp)
|
|
add_subdirectory(obj)
|
|
add_subdirectory(rc4)
|
|
add_subdirectory(ripemd)
|
|
add_subdirectory(rsa)
|
|
add_subdirectory(ssl)
|
|
add_subdirectory(x509)
|
|
add_subdirectory(xts)
|
|
|
|
add_library(
|
|
decrepit
|
|
|
|
$<TARGET_OBJECTS:bio_decrepit>
|
|
$<TARGET_OBJECTS:biossl_decrepit>
|
|
$<TARGET_OBJECTS:blowfish>
|
|
$<TARGET_OBJECTS:cast>
|
|
$<TARGET_OBJECTS:des_decrepit>
|
|
$<TARGET_OBJECTS:dh_decrepit>
|
|
$<TARGET_OBJECTS:dsa_decrepit>
|
|
$<TARGET_OBJECTS:evp_decrepit>
|
|
$<TARGET_OBJECTS:obj_decrepit>
|
|
$<TARGET_OBJECTS:rc4_decrepit>
|
|
$<TARGET_OBJECTS:ripemd_decrepit>
|
|
$<TARGET_OBJECTS:rsa_decrepit>
|
|
$<TARGET_OBJECTS:ssl_decrepit>
|
|
$<TARGET_OBJECTS:x509_decrepit>
|
|
$<TARGET_OBJECTS:xts>
|
|
)
|
|
|
|
target_link_libraries(decrepit crypto ssl)
|