Mayur Premi wrote:
>
> Hi ,
> I am using X509* ** pX = * PEM_read_X509*(FILE *fp, X509 **x,
> pem_password_cb *cb, void *u);
>
> to get a X509 certificate structure from PEM format File.
>
> My File(fp) looks like below:
>
Hi ,
I am using X509* ** pX = * PEM_read_X509*(FILE *fp, X509 **x,
pem_password_cb *cb, void *u);
to get a X509 certificate structure from PEM format File.
My File(fp) looks like below:
-BEGIN CERTIFICATE
, NULL))) {
fseek(fp, 0,SEEK_SET);
x509 = PEM_read_X509( fp, NULL, NULL, NULL );
}
--- Joseph Bruni <[EMAIL PROTECTED]> wrote:
> Did you set up your mutex call-backs needed by the
> library? See the
> man page for CRYPTO_set_locking_callback, et a
Did you set up your mutex call-backs needed by the library? See the
man page for CRYPTO_set_locking_callback, et al for details.
-joe
On May 6, 2005, at 8:56 AM, Calista wrote:
Are the functions
d2i_X509_fp and PEM_read_X509 thread safe?
smime.p7s
Description: S/MIME cryptographic signature
The code below fails sometimes( it prints "error"). I
don't understand why. I have a multi threaded
application, and all the threads may be doing the
following code simultaneously. Are the functions
d2i_X509_fp and PEM_read_X509 thread safe?
The variables - x509, fp, cert_filenam
e subject name of
> certificate, it worked fine with me then I downloaded the source from
> OpenSSL.org and compiled it as the instructions were, now the downloaded
> binaries work fine but when it comes to my own compiled binaries application
> crashes on the following line
>
compiled it as the instructions were, now the
downloaded binaries work fine but when it comes to my own compiled binaries application
crashes on the following line
x509Cert = PEM_read_X509(fPointer, NULL, 0,
NULL);
I used NASAM during compilation of the
source. Can some body tell me what I am
Using MS VC++ .NET PEM_read_X509(fp,NULL,NULL,NULL); fails.
I have narrowed it down to the BIO_gets()
fucntion.
int BIO_get(BIO *b, char *in, int inl){
/* . . . */
i=b->method->bgets(b,in,inl);
/* . . . */
}
An Application Error dialog reports "The memory
cannot be writting"
Title: Message
This document is in INSTALL.W32.
If you don't use the multithreaded DLL runtime
library (/MD option) yourprogram will almost certainly crash because malloc
gets confused -- theOpenSSL DLLs are statically linked to one version, the
application mustnot use a different
Title: Message
This document is in INSTALL.W32.
If you don't use the multithreaded DLL runtime
library (/MD option) yourprogram will almost certainly crash because malloc
gets confused -- theOpenSSL DLLs are statically linked to one version, the
application mustnot use a different o
*serial;
char * s; char *
z;
if
((fp=fopen("C:\\CryptoWeb\\492001fromhaizad\\Haizad.crt","r")) !=
NULL) {
x=X509_new(); if
(PEM_read_X509(fp,&x,NULL,NULL)!=NULL)
printf("\nReading success!\n"); else
{pri
hi. i am new in this
industry. now i am in project. can anybody help me,
how to read the pem format file (like certificate).
i also try to using PEM_read_X509 but
still have error. can anybody give any advise or example
coding using Borland C++.Thank you.
I have written a server on NT that crashes when it gets to the
PEM_read_X509 function. Here is a portion of the code:
X509* pCert = NULL;
FILE *fpCert = fopen("c:\\trustedCA.pem", "r");
PEM_read_X509(fpCert, &pCert, NULL, NULL);
Does anyone know what i
Hi,
I am compiling all the openssl files under VC++ and
creating a number of libraries that I can include to compile the programs.
However I am having problems with PEM_read_X509 when compiling the .c files
of the openssl. The error is "Not enough actual Parameters".
14 matches
Mail list logo