> From: owner-openssl-us...@openssl.org On Behalf Of
rajeshk_pec99-open...@yahoo.com
> Sent: Thursday, 02 July, 2009 06:53
> FILE *fp = 0;
> char derCert[MAX_CERT_LEN];
> long len;
> if (fp = fopen("../der.cer", "rb")) {
> len=fread(de
On Thu, Jul 02, 2009, rajeshk_pec99-open...@yahoo.com wrote:
> I am trying to use d2i_X509_bio to read a DER encoded certificate from memory
> BIO, but I can't get it to work. It works fine if I construct a file BIO to
> read from a file. Am I doing something wrong, or is this a bug?
>
> See th
I am trying to use d2i_X509_bio to read a DER encoded certificate from memory
BIO, but I can't get it to work. It works fine if I construct a file BIO to
read from a file. Am I doing something wrong, or is this a bug?
See the test application below that shows the problem. "der.cer" is DER encode
Hi all,
I still have some trouble with the memory BIO.
I want to write a PEM struct into a memory BIO
So I do :
BIO * bp;
d=malloc(1024);
bp=BIO_new_mem_buf(d,1024);
ret = PEM_write_bio_X509(bp,x509);
And it fails !
But if i do :
BIO *out;
BIO *out=OpenSSLCore.BIO_new(OpenSSLCore.BIO_s_file()
]
_
- Original Message -
From: "Hausermann Laurent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 9:37 AM
Subject: Pb using memory bio
> Hi all,
>
> I still have some trouble with the memo
> No, the record payload can be smaller than 16 KB and the record won't
> be padded (except as far as necessary for the cipher). But each
> record has a record header, and if you use smaller records, then a
> larger percentage of network traffic will be record headers.
A, my naivete shows. B
On Fri, Jul 28, 2000 at 12:04:06PM +0530, Amit Chopra wrote:
>> SSL_write will send the data passed to it in a single record unless
>> unless the request is too large for one record. So for efficiency,
>> avoid repeated calls to SSL_write with small (less than 16 KB)
>> payloads if you can; if y
Hi,
Thanks for the detailed explanation. Just a coupla more doubts :)
Bodo Moeller wrote:
> SSL_read cannot return anything until a complete record has been
> received over the network. If the SSL_read request is for less bytes
> than contained in that record, then the rest will be buffered.
Hi,
Thanks a lot. I have seen your sources and ssltest.c and have picked
up a few pointers from there.
There are some general doubts in my mind though.
Firstly , can WANT_READ/WRITE be issued during data tranfer or
only during handshake ?
A related question is does SSL_read/write do
On Wed, Jul 26, 2000 at 10:03:09AM +0530, Amit Chopra wrote:
> Hi,
> I have a question about memory BIOs.
> I want my application to SSL-read/write from/to memory
> instead of sockets. Reading/writing to the sockets will be handled
> by the application (I require such a facility because my
Hi,
I have a question about memory BIOs.
I want my application to SSL-read/write from/to memory
instead of sockets. Reading/writing to the sockets will be handled
by the application (I require such a facility because my application
does async IO). When reading BIO documentation, I came
acr
11 matches
Mail list logo