Don't verify host name in SSL certs when GIT_SSL_NO_VERIFY is set
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 Feb 2008 23:10:37 +0000 (15:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Sep 2008 16:57:44 +0000 (09:57 -0700)
commita5ccc5979d210500d00169f98cc8567ea346fcb0
tree083aa3627908ff76a712ac47196f1da7738ef344
parentaaefbfa66c348a461b3081873ef42819c8b38dac
Don't verify host name in SSL certs when GIT_SSL_NO_VERIFY is set

Originally from Mike Hommey; earlier we were disabling SSL_VERIFYPEER
but SSL_VERIFYHOST was in effect even when the user asked not to with
the environment variable.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c