fields.
- Fixed finishing support in ippeveps.
- Fixed non-quick copy of collection values.
+- Fixed TLS negotiation using OpenSSL with servers that require the TLS SNI
+ extension.
- Removed hash support for SHA2-512-224 and SHA2-512-256.
- Removed `mantohtml` script for generating html pages (use
`https://www.msweet.org/mantohtml/`)
//
// Note: This file is included from tls.c
//
-// Copyright © 2020-2023 by OpenPrinting
+// Copyright © 2020-2024 by OpenPrinting
// Copyright © 2007-2019 by Apple Inc.
// Copyright © 1997-2007 by Easy Software Products, all rights reserved.
//
int i, // Looping var
count; // Number of certificates
+ DEBUG_puts("4_httpTLSStart: Using client certificate.");
SSL_CTX_use_certificate(context, sk_X509_value(http->tls_credentials->certs, 0));
SSL_CTX_use_PrivateKey(context, http->tls_credentials->key);
if (http->mode == _HTTP_MODE_CLIENT)
{
// Negotiate as a client...
+ DEBUG_printf("4_httpTLSStart: Setting server name TLS extension to '%s'...", http->hostname);
+ SSL_set_tlsext_host_name(http->tls, http->hostname);
+
DEBUG_puts("4_httpTLSStart: Calling SSL_connect...");
if (SSL_connect(http->tls) < 1)
{