You may need to include -I /cygdrive/c/openssl/include or something
like that for including the necessary header files.
On Thu, 9 Sep 2004 20:59:23 +0200, Dunceor hmm <[EMAIL PROTECTED]> wrote:
> compile with:
> gcc -o test test.c -lcrypto
>
> - Original Message -
> From: Marcos Paraiso
was seeing only 9 bytes out of expected 13. I could not
see a resolution to the above problem and I am leading to believe that
my problem could be very similar to his.
Thanks
On Thu, 9 Sep 2004 20:56:20 +0200, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, Sep 09, 200
-0700, Smith Baylor <[EMAIL PROTECTED]> wrote:
> BIO *mbio, *b64bio, *bio;
>
> mbio = BIO_new(BIO_s_mem());
> b64bio = BIO_new(BIO_f_base64());
> bio = BIO_push(b64bio, mbio);
> int bytes_stored = i2d_PKCS12_bio(bio, p12);
&
BIO *mbio, *b64bio, *bio;
mbio = BIO_new(BIO_s_mem());
b64bio = BIO_new(BIO_f_base64());
bio = BIO_push(b64bio, mbio);
int bytes_stored = i2d_PKCS12_bio(bio, p12);
BIO_flush(mbio2);
BIO_get_mem_data(mbio, (unsigned char *)&p12_data_tmp);
Thanks that helped and worked.
--Smith
On Thu, 9 Sep 2004 15:04:10 +0200, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, Sep 09, 2004, Smith Baylor wrote:
>
> > Hi,
> >
> > How can you create a STACK_OF(X509) object from a given X509 CA Cert
Hi,
How can you create a STACK_OF(X509) object from a given X509 CA Cert?
X509 *x509ca;
STACK_OF(X509) *ca;
x509ca = ReadX509Cert("file_name");
Now how to populate the ca object with this x509ca object?
Thanks
__
OpenSSL Proje
count (via wc) of the returned data to the PEM returned,
> to see if they were equal. Have you verified that the count in
> bio_store_bytes is equal to the amount of data to the end of -END
> CERTIFICATE-? Does the count include garbage characters which you
> are seeing?
se64
> encoded data, which is explicitly 7 bit safe, so would not include an
> accented character. It looks like your null byte is in the wrong place.
> It probably should have come after the "=" sign.
>
> Eric
>
> On Sep 7, 2004, at 1:12 PM, Smith Baylor wrote:
>
I was also pointed to this document by an other member privately
http://www.openssl.org/docs/crypto/d2i_X509.html
and it did not help much
--Smith
On Tue, 7 Sep 2004 13:12:16 -0700, Smith Baylor <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using C as the programming language and
('V',to_date('%s','-MM-DD HH24:MI:SS'),'%i','%s')",fecha_cad,
num_serie, cert)"
Holpe this helps.
Zainos
Smith Baylor <[EMAIL PROTECTED]> wrote:
_
10 matches
Mail list logo