On 23.11.2011 15:06, Joe Orton wrote: > On Wed, Nov 23, 2011 at 08:37:31AM +0100, Kaspar Brand wrote: >> There are two approaches to fix 1): a) turn off verify_hostname >> where needed (t/ssl/pr12355.t and t/ssl/pr43738.t are doing this >> right now) or b) specify the CA cert (generated in t/conf/ca/...) >> to make verification work/succeed. > > (b) sounds better; I presume it doesn't break with older versions of > LWP?
LWP::UserAgent < 6 will warn when supplying unrecognized options to its constructor, so I made the changes depend on $LWP::VERSION. I have committed the patches in r1207758 (for Apache::Test) and r1207759 (adjustments to the t/ssl tests). Kaspar