summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-11-02 16:12:10 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-02 16:12:10 +0100
commit22fbb2656e3daf06c290d63d99b70c78f2f6d15d (patch)
treeefbf6fc724d0f5bb6c347aebc4ae65a9d235cedc /include
parent264d74fd4088585fa9fb6ffd6d9afe280c0048bb (diff)
downloadlibgit2-cmn/invalid-cert-return.tar.gz
netops: return GIT_ECERTIFICATE when it fails the basic testscmn/invalid-cert-return
When we first ask OpenSSL to verify the certfiicate itself (rather than the HTTPS specifics), we should also return GIT_ECERTIFICATE. Otherwise, the caller would consider this as a failed operation rather than a failed validation and not call the user's own validation.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions