MINOR: server: Only defined conn_complete_server if USE_OPENSSL is set.
conn_complete_server() is only used when using ALPN/NPN, so only define it
if USE_OPENSSL is set.
diff --git a/src/backend.c b/src/backend.c
index 74de27a..862fe3d 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -1035,6 +1035,7 @@
#endif
}
+#ifdef USE_OPENSSL
/*
* Pick the right mux once the connection is established, we should now have
* an alpn if available, so we are now able to choose.
@@ -1069,6 +1070,7 @@
conn_free(conn);
return -1;
}
+#endif
/*