Crypt-SMIME
view release on metacpan or search on metacpan
for (i = 1; i < items; i++) {
if (ST(i) == NULL) {
continue; /* å¤åèµ·ãããªãã⦠*/
}
if (!is_string(ST(i))) {
X509_STORE_free(store);
croak("Crypt::SMIME#setPublicKeyStore: ARG[%d] is non-string value", i);
}
pathname = (char *)SvPV_nolen(ST(i));
if (stat(pathname, &bufstat) != 0) {
X509_STORE_free(store);
croak("Crypt::SMIME#setPublicKeyStore: cannot stat %s",
pathname);
} else if (bufstat.st_mode & S_IFDIR) {
if (!X509_LOOKUP_add_dir(lookup_path, pathname,
X509_FILETYPE_PEM)) {
X509_STORE_free(store);
croak("Crypt::SMIME#setPublicKeyStore: failed to add ARG[%d] as store", i);
}
has_path = 1;
( run in 0.565 second using v1.01-cache-2.11-cpan-49f99fa48dc )