Description
I did this
I reproduced this CI build error by installing brew install openssl@3
and then building curl on macOS.
$ ./runtests.pl 91
...
91: protocol FAILED:
--- log/check-expected 2021-09-27 11:31:17.000000000 +0200
+++ log/check-generated 2021-09-27 11:31:17.000000000 +0200
@@ -11,7 +11,7 @@
[CR][LF]
GET /91 HTTP/1.1[CR][LF]
Host: 127.0.0.1:50748[CR][LF]
-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAgACABwAAAABgAGAHgAAAAIAAgAfgAAAAAAAAAAAAAAhoIBAMIyJpR5mHpg2FZha5kRaFZ9436GAxPu0C5llxexSQ5QzVkiLSfkcpVyRgCXXqR+Am15ZG9tYWlubXlzZWxmY3VybGhvc3Q=[CR][LF]
+Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAgACABwAAAABgAGAHgAAAAIAAgAfgAAAAAAAAAAAAAAhoIBAMIyJpR5mHpgFBoSh9ZjUs83Se7QqVMFHC5llxexSQ5QzVkiLSfkcpVyRgCXXqR+Am15ZG9tYWlubXlzZWxmY3VybGhvc3Q=[CR][LF]
User-Agent: curl/7.80.0-DEV[CR][LF]
Accept: */*[CR][LF]
[CR][LF]
- abort tests
TESTDONE: 1 tests were considered during 1 seconds.
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 91
The diff starts at index 116 but is fine again from index 137 until the end of the line. curl is expected to send 2FZha5kRaFZ9436GAxPu0
but sends FBoSh9ZjUs83Se7QqVMFH
instead.
I expected the following
Test 91 should work fine.
curl/libcurl version
curl 7.80.0-DEV (x86_64-apple-darwin20.6.0) libcurl/7.80.0-DEV (SecureTransport) OpenSSL/3.0.0 zlib/1.2.11 zstd/1.5.0 libidn2/2.3.2 nghttp2/1.45.1
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS Debug HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz MultiSSL NTLM NTLM_WB SSL TLS-SRP TrackMemory UnixSockets zstd
operating system
ProductName: macOS
ProductVersion: 11.5.2
BuildVersion: 20G95