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 > > > >

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 #include #include   main(){   X509 *x;   FILE *fp;   EVP_PKEY *  pkey;  long version;  char * s;        if ((fp=fopen("C:\\Cr