aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/build/openssl-alpn.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/build/openssl-alpn.c')
-rw-r--r--test/build/openssl-alpn.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/build/openssl-alpn.c b/test/build/openssl-alpn.c
new file mode 100644
index 0000000000..f7365770f7
--- /dev/null
+++ b/test/build/openssl-alpn.c
@@ -0,0 +1,10 @@
+/* This is just a compilation test, to see if we have a version of OpenSSL with
+ ALPN support installed. */
+
+#include <stdlib.h>
+#include <openssl/ssl.h>
+
+int main() {
+ SSL_get0_alpn_selected(NULL, NULL, NULL);
+ return 0;
+}