Re: d2i_X509_bio & i2d_X509 problem?

2005-03-26 Thread Nils Larsch
Justin Hsiung wrote: Hi, I had a small program as shown below to read a self-signed DER encoded certificate from Linux filesystem and still want to keep it in DER format in "buf". Therefore, I use both "d2i_X509_bio" & "i2d_X509" to achieve this. Unfortunately, I encountered some problems when I

d2i_X509_bio & i2d_X509 problem?

2005-03-26 Thread Justin Hsiung
Hi, I had a small program as shown below to read a self-signed DER encoded certificate from Linux filesystem and still want to keep it in DER format in "buf". Therefore, I use both "d2i_X509_bio" & "i2d_X509" to achieve this. Unfortunately, I encountered some problems when I printed the contents