{ in = BIO_new_file("xyz.pem", "r"); if(!in) { error; } while ((x509 = PEM_read_bio_X509(in,NULL,NULL,NULL)) != NULL) { } while((x509_crl = PEM_read_bio_X509_CRL(in,NULL,NULL,NULL)) != NULL) { } }
Amar
Joseph Bruni wrote:
I know that it is possible to place multiple PEM-encoded objects into a single file. Is it possible to iterate through each item? The command-line tools only seem to work on the first one found. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]