Lines Matching refs:DEBUG_printf
95 …DEBUG_printf(("cupsMakeServerCredentials(path=\"%s\", common_name=\"%s\", num_alt_names=%d, alt_na… in cupsMakeServerCredentials()
125 …DEBUG_printf(("cupsSetServerCredentials(path=\"%s\", common_name=\"%s\", auto_create=%d)", path, c… in cupsSetServerCredentials()
147 DEBUG_printf(("httpCopyCredentials(http=%p, credentials=%p)", http, credentials)); in httpCopyCredentials()
340 …DEBUG_printf(("httpCredentialsString(credentials=%p, buffer=%p, bufsize=" CUPS_LLFMT ")", credenti… in httpCredentialsString()
389 DEBUG_printf(("1httpCredentialsString: Returning \"%s\".", buffer)); in httpCredentialsString()
434 …DEBUG_printf(("httpLoadCredentials(path=\"%s\", credentials=%p, common_name=\"%s\")", path, creden… in httpLoadCredentials()
460 …DEBUG_printf(("1httpLoadCredentials: CryptAcquireContext failed: %s", http_sspi_strerror(error, si… in httpLoadCredentials()
470 …DEBUG_printf(("1httpLoadCredentials: CertOpenSystemStore failed: %s", http_sspi_strerror(error, si… in httpLoadCredentials()
478 …DEBUG_printf(("1httpLoadCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(e… in httpLoadCredentials()
486 DEBUG_printf(("1httpLoadCredentials: malloc failed for %d bytes.", dwSize)); in httpLoadCredentials()
492 …DEBUG_printf(("1httpLoadCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(e… in httpLoadCredentials()
503 DEBUG_printf(("1httpLoadCredentials: Unable to find credentials for \"%s\".", common_name)); in httpLoadCredentials()
528 DEBUG_printf(("1httpLoadCredentials: Returning %d.", *credentials ? 0 : -1)); in httpLoadCredentials()
560 …DEBUG_printf(("httpSaveCredentials(path=\"%s\", credentials=%p, common_name=\"%s\")", path, creden… in httpSaveCredentials()
583 …DEBUG_printf(("1httpSaveCredentials: CryptAcquireContext failed: %s", http_sspi_strerror(error, si… in httpSaveCredentials()
593 …DEBUG_printf(("1httpSaveCredentials: CertOpenSystemStore failed: %s", http_sspi_strerror(error, si… in httpSaveCredentials()
601 …DEBUG_printf(("1httpSaveCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(e… in httpSaveCredentials()
609 DEBUG_printf(("1httpSaveCredentials: malloc failed for %d bytes.", dwSize)); in httpSaveCredentials()
615 …DEBUG_printf(("1httpSaveCredentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(e… in httpSaveCredentials()
626 …DEBUG_printf(("1httpSaveCredentials: CertAddCertificateContextToStore failed: %s", http_sspi_strer… in httpSaveCredentials()
639 …DEBUG_printf(("1httpSaveCredentials: CertSetCertificateContextProperty failed: %s", http_sspi_stre… in httpSaveCredentials()
666 DEBUG_printf(("1httpSaveCredentials: Returning %d.", ret)); in httpSaveCredentials()
717 DEBUG_printf(("4_httpTLSRead(http=%p, buf=%p, len=%d)", http, buf, len)); in _httpTLSRead()
735 DEBUG_printf(("5_httpTLSRead: Returning %d bytes previously decrypted.", bytesToCopy)); in _httpTLSRead()
767 …DEBUG_printf(("_httpTLSRead: Unable to allocate %d byte decryption buffer.", sspi->decryptBufferLe… in _httpTLSRead()
775 … DEBUG_printf(("_httpTLSRead: Resized decryption buffer to %d bytes.", sspi->decryptBufferLength)); in _httpTLSRead()
785 DEBUG_printf(("5_httpTLSRead: decryptBufferUsed=%d", sspi->decryptBufferUsed)); in _httpTLSRead()
794 DEBUG_printf(("5_httpTLSRead: recv failed: %d", WSAGetLastError())); in _httpTLSRead()
803 DEBUG_printf(("5_httpTLSRead: Read %d bytes into decryption buffer.", num)); in _httpTLSRead()
818 …DEBUG_printf(("5_httpTLSRead: DecryptMessage failed: %s", http_sspi_strerror(sspi->error, sizeof(s… in _httpTLSRead()
866 DEBUG_printf(("_httpTLSRead: Unable to allocate %d bytes.", sspi->readBufferUsed + bytesToSave)); in _httpTLSRead()
937 DEBUG_printf(("3_httpTLSStart(http=%p)", http)); in _httpTLSStart()
943 DEBUG_printf(("4_httpTLSStart: tls_options=%x", tls_options)); in _httpTLSStart()
999 DEBUG_printf(("4_httpTLSStart: Unable to get socket address: %s", strerror(errno))); in _httpTLSStart()
1007 DEBUG_printf(("4_httpTLSStart: Resolved socket address to \"%s\".", hostname)); in _httpTLSStart()
1093 DEBUG_printf(("_httpTLSStop: sending close notify failed: %d", status)); in _httpTLSStop()
1103 …DEBUG_printf(("_httpTLSStop: AcceptSecurityContext failed: %s", http_sspi_strerror(sspi->error, si… in _httpTLSStop()
1108 …DEBUG_printf(("_httpTLSStop: ApplyControlToken failed: %s", http_sspi_strerror(sspi->error, sizeof… in _httpTLSStop()
1144 DEBUG_printf(("_httpTLSWrite: Unable to allocate buffer of %d bytes.", bufferLen)); in _httpTLSWrite()
1195 …DEBUG_printf(("_httpTLSWrite: EncryptMessage failed: %s", http_sspi_strerror(sspi->error, sizeof(s… in _httpTLSWrite()
1210 DEBUG_printf(("_httpTLSWrite: send failed: %ld", WSAGetLastError())); in _httpTLSWrite()
1238 DEBUG_printf(("7http_setup_ssl(http=%p)", http));
1345 DEBUG_printf(("4http_sspi_client(http=%p, hostname=\"%s\")", http, hostname)); in http_sspi_client()
1385 …DEBUG_printf(("5http_sspi_client: InitializeSecurityContext(1) failed: %s", http_sspi_strerror(ssp… in http_sspi_client()
1397 DEBUG_printf(("5http_sspi_client: send failed: %d", WSAGetLastError())); in http_sspi_client()
1403 DEBUG_printf(("5http_sspi_client: %d bytes of handshake data sent.", cbData)); in http_sspi_client()
1444 …DEBUG_printf(("5http_sspi_client: Unable to allocate %d byte buffer.", sspi->decryptBufferLength +… in http_sspi_client()
1457 DEBUG_printf(("5http_sspi_client: recv failed: %d", WSAGetLastError())); in http_sspi_client()
1462 DEBUG_printf(("5http_sspi_client: Server unexpectedly disconnected.")); in http_sspi_client()
1466 DEBUG_printf(("5http_sspi_client: %d bytes of handshake data received", cbData)); in http_sspi_client()
1525 DEBUG_printf(("5http_sspi_client: send failed: %d", WSAGetLastError())); in http_sspi_client()
1531 DEBUG_printf(("5http_sspi_client: %d bytes of handshake data sent.", cbData)); in http_sspi_client()
1571 …DEBUG_printf(("5http_sspi_client: %d bytes of app data was bundled with handshake data", sspi->dec… in http_sspi_client()
1589 …DEBUG_printf(("5http_sspi_client: InitializeSecurityContext(2) failed: %s", http_sspi_strerror(ssp… in http_sspi_client()
1605 DEBUG_printf(("5http_sspi_client: server requested client credentials.")); in http_sspi_client()
1638 …DEBUG_printf(("5http_sspi_client: QueryContextAttributes failed(SECPKG_ATTR_REMOTE_CERT_CONTEXT): … in http_sspi_client()
1650 …DEBUG_printf(("5http_sspi_client: QueryContextAttributes failed(SECPKG_ATTR_STREAM_SIZES): %s", ht… in http_sspi_client()
1704 …DEBUG_printf(("5http_sspi_find_credentials: CryptAcquireContext failed: %s", http_sspi_strerror(ss… in http_sspi_find_credentials()
1715 …DEBUG_printf(("5http_sspi_find_credentials: CertOpenSystemStore failed: %s", http_sspi_strerror(ss… in http_sspi_find_credentials()
1724 …DEBUG_printf(("5http_sspi_find_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->er… in http_sspi_find_credentials()
1733 DEBUG_printf(("5http_sspi_find_credentials: malloc failed for %d bytes.", dwSize)); in http_sspi_find_credentials()
1740 …DEBUG_printf(("5http_sspi_find_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->er… in http_sspi_find_credentials()
1752 …DEBUG_printf(("5http_sspi_find_credentials: Unable to find credentials for \"%s\".", common_name)); in http_sspi_find_credentials()
1817 …DEBUG_printf(("5http_sspi_find_credentials: AcquireCredentialsHandle failed: %s", http_sspi_strerr… in http_sspi_find_credentials()
1907 …DEBUG_printf(("4http_sspi_make_credentials(sspi=%p, container=%p, common_name=\"%s\", mode=%d, yea… in http_sspi_make_credentials()
1915 …DEBUG_printf(("5http_sspi_make_credentials: CryptAcquireContext failed: %s", http_sspi_strerror(ss… in http_sspi_make_credentials()
1926 …DEBUG_printf(("5http_sspi_make_credentials: CertOpenSystemStore failed: %s", http_sspi_strerror(ss… in http_sspi_make_credentials()
1935 …DEBUG_printf(("5http_sspi_make_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->er… in http_sspi_make_credentials()
1944 DEBUG_printf(("5http_sspi_make_credentials: malloc failed for %d bytes", dwSize)); in http_sspi_make_credentials()
1951 …DEBUG_printf(("5http_sspi_make_credentials: CertStrToName failed: %s", http_sspi_strerror(sspi->er… in http_sspi_make_credentials()
1962 …DEBUG_printf(("5http_sspi_make_credentials: CryptGenKey failed: %s", http_sspi_strerror(sspi->erro… in http_sspi_make_credentials()
1983 …DEBUG_printf(("5http_sspi_make_credentials: CertCreateSelfSignCertificate failed: %s", http_sspi_s… in http_sspi_make_credentials()
1995 …DEBUG_printf(("5http_sspi_make_credentials: CertAddCertificateContextToStore failed: %s", http_ssp… in http_sspi_make_credentials()
2009 …DEBUG_printf(("5http_sspi_make_credentials: CertSetCertificateContextProperty failed: %s", http_ss… in http_sspi_make_credentials()
2038 …DEBUG_printf(("5http_sspi_make_credentials: AcquireCredentialsHandle failed: %s", http_sspi_strerr… in http_sspi_make_credentials()
2094 DEBUG_printf(("4http_sspi_server(http=%p, hostname=\"%s\")", http, hostname)); in http_sspi_server()
2147 …DEBUG_printf(("5http_sspi_server: Unable to allocate %d byte buffer.", sspi->decryptBufferLength +… in http_sspi_server()
2168 DEBUG_printf(("5http_sspi_server: recv failed: %d", WSAGetLastError())); in http_sspi_server()
2177 DEBUG_printf(("5http_sspi_server: received %d (handshake) bytes from client.", num)); in http_sspi_server()
2225 DEBUG_printf(("5http_sspi_server: handshake send failed: %d", WSAGetLastError())); in http_sspi_server()
2229 … DEBUG_printf(("5http_sspi_server: sent %d handshake bytes to client.", outBuffers[0].cbBuffer)); in http_sspi_server()
2255 …DEBUG_printf(("5http_sspi_server: AcceptSecurityContext failed: %s", http_sspi_strerror(sspi->erro… in http_sspi_server()
2287 …DEBUG_printf(("5http_sspi_server: QueryContextAttributes failed: %s", http_sspi_strerror(sspi->err… in http_sspi_server()
2393 …DEBUG_printf(("CertGetCertificateChain returned: %s", http_sspi_strerror(error, sizeof(error), sta… in http_sspi_verify()
2420 …DEBUG_printf(("CertVerifyCertificateChainPolicy returned %s", http_sspi_strerror(error, sizeof(err… in http_sspi_verify()