aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorAditya Garg <gargaditya08@live.com>2025-06-20 12:10:26 +0530
committerJunio C Hamano <gitster@pobox.com>2025-06-20 08:11:16 -0700
commitb9e766604df2c50b2f721479bb405409db3344d1 (patch)
tree10365f6428c06ce57ca77f00d6759484086843ae /builtin/commit-tree.c
parentimap-send: fix memory leak in case auth_cram_md5 fails (diff)
downloadgit-b9e766604df2c50b2f721479bb405409db3344d1.tar.gz
git-b9e766604df2c50b2f721479bb405409db3344d1.zip
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 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions