WiP: disable some functions so that it compiles against boringssl

This commit is contained in:
Henry Case 2019-07-23 17:11:14 +01:00
parent 20d43a035a
commit 50b4fa4334

View File

@ -152,10 +152,10 @@ create_conn (Sess *sess, struct Conn_Info *ci)
#ifdef HAVE_SSL #ifdef HAVE_SSL
if (param.ssl_reuse && ci->conn->ssl && sess->ssl) if (param.ssl_reuse && ci->conn->ssl && sess->ssl)
{ {
if (DBG > 0) if (DBG > 0) fprintf (stderr, "create_conn: reusing SSL session %p\n", (void *) sess->ssl);
fprintf (stderr, "create_conn: reusing SSL session %p\n",
(void *) sess->ssl); fprintf (stderr, "\n\n\n create_conn: Calling not working functionality %p\n");
SSL_copy_session_id (ci->conn->ssl, sess->ssl); // SSL_copy_session_id (ci->conn->ssl, sess->ssl);
} }
#endif #endif
@ -237,7 +237,8 @@ conn_connected (Event_Type et, Object *obj, Any_Type regarg, Any_Type callarg)
#ifdef HAVE_SSL #ifdef HAVE_SSL
if (param.ssl_reuse && !sess->ssl && ci->conn->ssl) if (param.ssl_reuse && !sess->ssl && ci->conn->ssl)
{ {
sess->ssl = SSL_dup (ci->conn->ssl); fprintf (stderr, "\n\n\nconn_connected: Calling not working functionality %p\n");
// sess->ssl = SSL_dup (ci->conn->ssl);
if (DBG > 0) if (DBG > 0)
fprintf (stderr, "create_conn: cached SSL session %p as %p\n", fprintf (stderr, "create_conn: cached SSL session %p as %p\n",
(void *) ci->conn->ssl, (void *) sess->ssl); (void *) ci->conn->ssl, (void *) sess->ssl);