diff options
author | Aditya Garg <gargaditya08@live.com> | 2025-06-20 12:10:26 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-20 08:11:16 -0700 |
commit | b9e766604df2c50b2f721479bb405409db3344d1 (patch) | |
tree | 10365f6428c06ce57ca77f00d6759484086843ae /t/t9133-git-svn-nested-git-repo.sh | |
parent | ac4e02c5030c05d71b20127a7118b0a0fc3c1c64 (diff) |
imap-send: gracefully fail if CRAM-MD5 authentication is requested without OpenSSL
Unlike PLAIN, XOAUTH2 and OAUTHBEARER, CRAM-MD5 authentication is not
supported by libcurl and requires OpenSSL. If the user tries to use
CRAM-MD5 authentication without OpenSSL, the previous behaviour was to
attempt to authenticate and fail with a die(error). Handle this in a
better way by first checking if OpenSSL is available and then attempting
to authenticate. If OpenSSL is not available, print an error message and
exit gracefully.
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9133-git-svn-nested-git-repo.sh')
0 files changed, 0 insertions, 0 deletions