Home | History | Annotate | Download | only in vtls

Lines Matching full:schannel

26  * Source file for all SChannel-specific code for the TLS/SSL layer. No code
46 # error "Can't compile SCHANNEL support without SSPI."
50 #include <schannel.h>
52 #include "schannel.h"
123 /* Both schannel buffer sizes must be > 0 */
132 /* Structs to store Schannel handles */
216 failf(data, "Schannel: TLS 1.3 is not yet supported");
248 infof(data, "schannel: SSL/TLS connection with %s port %hu (step 1/3)\n",
253 /* SChannel in Windows XP (OS version 5.1) uses legacy handshakes and
255 infof(data, "schannel: WinSSL version is old and may not be able to "
278 infof(data, "schannel: re-using existing credential handle\n");
282 infof(data, "schannel: incremented credential handle refcount = %d\n",
289 /* setup Schannel API options */
310 infof(data, "schannel: disabled server certificate revocation "
313 infof(data, "schannel: checking server certificate revocation\n");
319 infof(data, "schannel: disabled server certificate revocation checks\n");
324 infof(data, "schannel: verifyhost setting prevents Schannel from "
361 failf(data, "schannel: unable to allocate memory");
378 failf(data, "schannel: SNI or certificate check failed: %s",
381 failf(data, "schannel: AcquireCredentialsHandle failed: %s",
394 infof(data, "schannel: using IP address, SNI is not supported by OS.\n");
426 infof(data, "schannel: ALPN, offering %s\n", NGHTTP2_PROTO_VERSION_ID);
433 infof(data, "schannel: ALPN, offering %s\n", ALPN_HTTP_1_1);
464 failf(data, "schannel: unable to allocate memory");
473 /* Schannel InitializeSecurityContext:
490 failf(data, "schannel: SNI or certificate check failed: %s",
493 failf(data, "schannel: initial InitializeSecurityContext failed: %s",
499 infof(data, "schannel: sending initial handshake data: "
507 failf(data, "schannel: failed to send initial handshake data: "
512 infof(data, "schannel: sent initial handshake data: "
548 infof(data, "schannel: SSL/TLS connection with %s port %hu (step 2/3)\n",
560 failf(data, "schannel: unable to allocate memory");
572 failf(data, "schannel: unable to allocate memory");
587 failf(data, "schannel: unable to re-allocate memory");
608 infof(data, "schannel: failed to receive handshake, "
613 failf(data, "schannel: failed to receive handshake, "
621 infof(data, "schannel: encrypted data got %zd\n", nread);
624 infof(data, "schannel: encrypted data buffer: offset %zu length %zu\n",
640 failf(data, "schannel: unable to allocate memory");
668 infof(data, "schannel: received incomplete message, need more data\n");
679 infof(data, "schannel: a client certificate has been requested\n");
688 infof(data, "schannel: sending next handshake data: "
697 failf(data, "schannel: failed to send next handshake data: "
711 failf(data, "schannel: SNI or certificate check failed: %s",
714 failf(data, "schannel: next InitializeSecurityContext failed: %s",
722 infof(data, "schannel: encrypted data length: %lu\n", inbuf[1].cbBuffer);
761 infof(data, "schannel: SSL/TLS handshake complete\n");
792 infof(data, "schannel: SSL/TLS connection with %s port %hu (step 3/3)\n",
801 failf(data, "schannel: failed to setup sequence detection");
803 failf(data, "schannel: failed to setup replay detection");
805 failf(data, "schannel: failed to setup confidentiality");
807 failf(data, "schannel: failed to setup memory allocation");
809 failf(data, "schannel: failed to setup stream orientation");
819 failf(data, "schannel: failed to retrieve ALPN result");
826 infof(data, "schannel: ALPN, server accepted to use %.*s\n",
858 infof(data, "schannel: old credential handle is stale, removing\n");
870 failf(data, "schannel: failed to store credential handle");
876 infof(data, "schannel: stored credential handle in session cache\n");
887 failf(data, "schannel: failed to retrieve remote cert context");
1114 failf(conn->data, "schannel: timed out sending data "
1130 failf(conn->data, "schannel: timed out sending data "
1196 infof(data, "schannel: client wants to read %zu bytes\n", len);
1200 infof(data, "schannel: enough decrypted data is already available\n");
1205 infof(data, "schannel: an unrecoverable error occurred in a prior call\n");
1210 infof(data, "schannel: server indicated shutdown in a prior call\n");
1234 failf(data, "schannel: unable to re-allocate memory");
1241 infof(data, "schannel: encdata_buffer resized %zu\n",
1245 infof(data, "schannel: encrypted data buffer: offset %zu length %zu\n",
1256 infof(data, "schannel: Curl_read_plain returned CURLE_AGAIN\n");
1258 infof(data, "schannel: Curl_read_plain returned CURLE_RECV_ERROR\n");
1260 infof(data, "schannel: Curl_read_plain returned error %d\n", *err);
1264 infof(data, "schannel: server closed the connection\n");
1269 infof(data, "schannel: encrypted data got %zd\n", nread);
1273 infof(data, "schannel: encrypted data buffer: offset %zu length %zu\n",
1302 infof(data, "schannel: decrypted data length: %lu\n",
1320 failf(data, "schannel: unable to re-allocate memory");
1335 infof(data, "schannel: decrypted data added: %zu\n", size);
1336 infof(data, "schannel: decrypted data cached: offset %zu length %zu\n",
1342 infof(data, "schannel: encrypted data length: %lu\n",
1357 infof(data, "schannel: encrypted data cached: offset %zu length %zu\n",
1367 infof(data, "schannel: remote party requests renegotiation\n");
1369 infof(data, "schannel
1374 infof(data, "schannel: can't renogotiate, "
1379 infof(data, "schannel: renegotiating SSL/TLS connection\n");
1384 infof(data, "schannel: renegotiation failed\n");
1389 infof(data, "schannel: SSL/TLS connection renegotiated\n");
1399 infof(data, "schannel: server closed the connection\n");
1408 infof(data, "schannel: failed to decrypt data, need more data\n");
1413 infof(data, "schannel: failed to read data from server: %s\n",
1419 infof(data, "schannel: encrypted data buffer: offset %zu length %zu\n",
1422 infof(data, "schannel: decrypted data buffer: offset %zu length %zu\n",
1427 infof(data, "schannel: schannel_recv cleanup\n");
1446 infof(data, "schannel: server closed abruptly (missing close_notify)\n");
1461 infof(data, "schannel: decrypted data returned %zu\n", size);
1462 infof(data, "schannel: decrypted data buffer: offset %zu length %zu\n",
1534 * Shutting Down an Schannel Connection
1541 infof(data, "schannel: shutting down SSL/TLS connection with %s port %hu\n",
1561 failf(data, "schannel: ApplyControlToken failure: %s",
1596 infof(data, "schannel: failed to send close msg: %s"
1602 /* free SSPI Schannel API security context handle */
1604 infof(data, "schannel: clear security context handle\n");
1609 /* free SSPI Schannel API credential handle */
1690 failf(data, "schannel: Failed to read remote certificate context: %s",
1709 failf(data, "schannel: CertGetCertificateChain failed: %s",
1721 failf(data, "schannel: CertGetCertificateChain trust error"
1724 failf(data, "schannel: CertGetCertificateChain trust error"
1727 failf(data, "schannel: CertGetCertificateChain trust error"
1730 failf(data, "schannel: CertGetCertificateChain trust error"
1733 failf(data, "schannel: CertGetCertificateChain error mask: 0x%08x",
1750 curl: (51) schannel: CertGetNameString() certificate hostname
1776 "schannel: connection hostname (%s) validated "
1784 "schannel: connection hostname (%s) "
1795 "schannel: CertGetNameString did not provide any "
1820 { CURLSSLBACKEND_SCHANNEL, "schannel" }, /* info */