If you have both LWP::Protocol::https installed, Crypt:SSLeay will not
be used.
LWP::UserAgent loads LWP::Protocol::https if it's installed. Since
it's a dependency, it's installed. LWP::Protocol::https has a
dependency on IO::Socket::SSL, so it will be picked up instead of
Crypt::SSLeay.
I verified this with the following code in the t/001Basic.t test
using the LIVE_TEST option:
BEGIN {
unshift @INC, sub {
print STDERR "Loaded $_[1]\n";
};
}
If you have both LWP::Protocol::https installed, Crypt:SSLeay will not be used.
LWP::UserAgent loads LWP::Protocol::https if it's installed. Since it's a dependency, it's installed. LWP::Protocol::https has a dependency on IO::Socket::SSL, so it will be picked up instead of Crypt::SSLeay.
I verified this with the following code in the
t/001Basic.t
test using theLIVE_TEST
option: