[crypto] Allow private key to be specified as a TLS connection parameter
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ FEATURE ( FEATURE_PROTOCOL, "HTTPS", DHCP_EB_FEATURE_HTTPS, 1 );
|
||||
*/
|
||||
static int https_filter ( struct http_connection *conn ) {
|
||||
|
||||
return add_tls ( &conn->socket, conn->uri->host, NULL );
|
||||
return add_tls ( &conn->socket, conn->uri->host, NULL, NULL );
|
||||
}
|
||||
|
||||
/** HTTPS URI opener */
|
||||
|
||||
@@ -246,7 +246,7 @@ static int apply_syslogs_settings ( void ) {
|
||||
}
|
||||
|
||||
/* Add TLS filter */
|
||||
if ( ( rc = add_tls ( &syslogs, server, NULL ) ) != 0 ) {
|
||||
if ( ( rc = add_tls ( &syslogs, server, NULL, NULL ) ) != 0 ) {
|
||||
DBG ( "SYSLOGS cannot create TLS filter: %s\n",
|
||||
strerror ( rc ) );
|
||||
goto err_add_tls;
|
||||
|
||||
Reference in New Issue
Block a user