diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2015-11-06 10:13:13 +0300 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2015-11-06 10:21:04 +0300 |
commit | 3160716f269ae9a5104777cadcd59739154a8d18 (patch) | |
tree | b2c4057c51908c377fe84ba902a2f92a8433445f /test/regress.h | |
parent | 45a284acfd1d005fb331b3e15c519bb6c1bcabfb (diff) | |
download | libevent-3160716f269ae9a5104777cadcd59739154a8d18.tar.gz |
test/regress: fix ssl-less builds (need to make this prettier)
CI: https://travis-ci.org/libevent/libevent/jobs/89590839
Diffstat (limited to 'test/regress.h')
-rw-r--r-- | test/regress.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/regress.h b/test/regress.h index 49ea29ac..de1aed30 100644 --- a/test/regress.h +++ b/test/regress.h @@ -34,8 +34,6 @@ extern "C" { #include "tinytest.h" #include "tinytest_macros.h" -#include <openssl/ssl.h> - extern struct testcase_t main_testcases[]; extern struct testcase_t evtag_testcases[]; extern struct testcase_t evbuffer_testcases[]; @@ -132,6 +130,7 @@ pid_t regress_fork(void); #endif #ifdef EVENT__HAVE_OPENSSL +#include <openssl/ssl.h> EVP_PKEY *ssl_getkey(void); X509 *ssl_getcert(void); SSL_CTX *get_ssl_ctx(void); |