try to help me X509_get_version

2001-09-06 Thread Zulkiffli Mohd Nur
hello. i have a problem how to read version and serial number from certificate. just now i have a certificate. the code like this #include stdio.h#include openssl/x509.h#include openssl/pem.h main(){ X509 *x; FILE *fp; EVP_PKEY * pkey; long version; char * s; if

Re: try to help me X509_get_version

2001-09-06 Thread Vadim Fedukovich
On Thu, 6 Sep 2001, Zulkiffli Mohd Nur wrote: hello. i have a problem how to read version and serial number from certificate. X509_get_version() will return a long that could be printed using %ld specification. just now i have a certificate. the code like this #include