cmake: fix linking when mbed TLS not in default paths
[project/ustream-ssl.git] / ustream-internal.h
index 4932a0d539c729b181a98905bcadcc29c07fa542..147141ab5f05930fb4298c01b05c2c1230d3d139 100644 (file)
 
 #if defined(HAVE_MBEDTLS)
 #include "ustream-mbedtls.h"
-#elif defined(HAVE_POLARSSL)
-#include "ustream-polarssl.h"
 #else
-#if defined(HAVE_CYASSL)
-#include <wolfssl/options.h>
-#endif
 #include "ustream-openssl.h"
 #endif
 
@@ -43,6 +38,7 @@ struct ustream_ssl_ctx *__ustream_ssl_context_new(bool server);
 int __ustream_ssl_add_ca_crt_file(struct ustream_ssl_ctx *ctx, const char *file);
 int __ustream_ssl_set_crt_file(struct ustream_ssl_ctx *ctx, const char *file);
 int __ustream_ssl_set_key_file(struct ustream_ssl_ctx *ctx, const char *file);
+int __ustream_ssl_set_ciphers(struct ustream_ssl_ctx *ctx, const char *ciphers);
 void __ustream_ssl_context_free(struct ustream_ssl_ctx *ctx);
 enum ssl_conn_status __ustream_ssl_connect(struct ustream_ssl *us);
 int __ustream_ssl_read(struct ustream_ssl *us, char *buf, int len);