diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-18 22:20:10 +0000 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-28 15:46:55 +0000 |
| commit | b2ed778ac0e964ebe5a77945b9c076ee28a93695 (patch) | |
| tree | 1ca25748bfb6af54ad40afa2f6d77f334f4959db /include/git2/sys | |
| parent | 2ce2315c9c4526b591997d4b2a0f1adbe9f589a5 (diff) | |
| download | libgit2-b2ed778ac0e964ebe5a77945b9c076ee28a93695.tar.gz | |
http transport: reset error message on cert failure
Store the error message from the underlying TLS library before calling
the certificate callback. If it refuses to act (demonstrated by
returning GIT_PASSTHROUGH) then restore the error message. Otherwise,
if the callback does not set an error message, set a sensible default
that implicates the callback itself.
Diffstat (limited to 'include/git2/sys')
0 files changed, 0 insertions, 0 deletions
