The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
META.json 22
META.yml 1212
lib/Net/IMAP/Client.pm 13
3 files changed (This is a version diff) 1517
@@ -4,7 +4,7 @@
       "Mihai Bazon <mihai.bazon@gmail.com>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.132830",
+   "generated_by" : "ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 2.140640",
    "license" : [
       "unknown"
    ],
@@ -43,5 +43,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "0.9504"
+   "version" : "0.9505"
 }
@@ -3,26 +3,26 @@ abstract: 'Not so simple IMAP client library'
 author:
   - 'Mihai Bazon <mihai.bazon@gmail.com>'
 build_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 configure_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.132830'
+generated_by: 'ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 2.140640'
 license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Net-IMAP-Client
 no_index:
   directory:
     - t
     - inc
 requires:
-  Encode: 0
-  Encode::MIME::Header: 0
-  IO::Socket::INET: 0
-  IO::Socket::SSL: 0
-  List::MoreUtils: 0
-  List::Util: 0
-  Test::More: 0
-version: 0.9504
+  Encode: '0'
+  Encode::MIME::Header: '0'
+  IO::Socket::INET: '0'
+  IO::Socket::SSL: '0'
+  List::MoreUtils: '0'
+  List::Util: '0'
+  Test::More: '0'
+version: '0.9505'
@@ -1,7 +1,7 @@
 package Net::IMAP::Client;
 
 use vars qw[$VERSION];
-$VERSION = '0.9504';
+$VERSION = '0.9505';
 
 use strict;
 use warnings;
@@ -636,6 +636,8 @@ sub _get_ssl_config {
 
     if ($^O eq 'linux' && !$self->{ssl_ca_path} && !$self->{ssl_ca_file}) {
         $ssl_config{SSL_ca_path} = '/etc/ssl/certs/';
+		-d $ssl_config{SSL_ca_path} 
+			or die "$ssl_config{SSL_ca_path}: SSL certification directory not found";
     }
     $ssl_config{SSL_ca_path} = $self->{ssl_ca_path} if $self->{ssl_ca_path};
     $ssl_config{SSL_ca_file} = $self->{ssl_ca_file} if $self->{ssl_ca_file};