I have been trying to put together a simple echo server and client with
the OpenSSL library, as you may have seen from my previous posts. I
have the O'Reilly OpenSSL book and it has a discussion on non-blocking
IO. I am not sure if I understand the non-blocking example either. So,
it seems like eve
On Tue, Jun 10, 2008 at 10:20:56PM -0700, David Schwartz wrote:
>
> > This code just goes into a loop and keeps writing the first piece
> > of info it reads. What am I doing wrong here?
> >
> > while (nread = BIO_gets(out, buf, sizeof(buf) ) )
> > {
> > err = BIO_write(out,buf,nread );
> > }
Can someone guide me on this?
On Tue, Jun 10, 2008 at 5:07 PM, Ace <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using OpenSSL 9.8a. *Is it advised to compile OpenSSL with
> highest optimization level?* The reason I am asking is following note in
> PROBLEMS document in OpenSSL source distribution
> This code just goes into a loop and keeps writing the first piece
> of info it reads. What am I doing wrong here?
>
> while (nread = BIO_gets(out, buf, sizeof(buf) ) )
> {
> err = BIO_write(out,buf,nread );
> }
That's precisely what it's coded to do. Get a byte, then write that byte
out, t
This code just goes into a loop and keeps writing the first piece
of info it reads. What am I doing wrong here?
while (nread = BIO_gets(out, buf, sizeof(buf) ) )
{
err = BIO_write(out,buf,nread );
}
--
Brian Lavender
http://www.brie.com/brian/
_
> What is the acceptable lower limit for the number of bytes for
RAND_load_file()?
Nobody can tell you what your requirements are. Some people will consider it
acceptable just to read 1KB from /dev/urandom. This is only a problem if the
entropy pool was never seeded, which is always at least poss
Hi,
I am using OpenSSL 9.8a. *Is it advised to compile OpenSSL with highest
optimization level?* The reason I am asking is following note in PROBLEMS
document in OpenSSL source distribution -
"According to a problem report, there are bugs in gcc 3.0 that are
triggered by some of the code in O
Glenn wrote:
Lack of entropy? Try using /dev/urandom
/dev/urandom supplies (statistically useful) random bits -- no
claims are made about entropy.
- M
__
OpenSSL Project http://www.openssl.org
On Tue, Jun 10, 2008 at 1:43 PM, Bruce Keats <[EMAIL PROTECTED]> wrote:
> I have noticed that some linux systems (CentOS 5.1, FC7 and FC8) that
> RAND_load_file("/dev/random", 1024) can take a long time (20 minutes).
>
>
Lack of entropy? Try using /dev/urandom
>From the man page: "/dev/random de
I have noticed that some linux systems (CentOS 5.1, FC7 and FC8) that
RAND_load_file("/dev/random", 1024) can take a long time (20 minutes). If I
do an strace on the process, I see that it is doing reads on /dev/random and
getting back 8 or 9 bytes. I assume that what is happening here is that
R
I am trying to write a simple echo server. I first decided to try it
with the BIO without any keys. I keep having problems with blocking. It
seems that it gets stuck somewhere expecting a read or a write. You will
notice on the client that I do BIO_write. Then I do a BIO_read in a loop
to get the d
For the benefit of anyone else struggling with
cross-compilation, this is how I got openssl configure and
make to create shared libraries using my cross-compiler.
include ../mak.inc
OPEN_SSL_VERSION=0.9.8h
all:
tar xzvf openssl-$(OPEN_SSL_VERSION).tar.gz ;
cd openssl-$(OPEN_SSL_V
I was able to get the Configure script to work with my
cross-compiler as follows:
./Configure linux-ppc:$(CROSS_BIN)/$(CROSS_COMPILE)gcc
no-krb5 zlib-dynamic shared threads
However, no shared libraries are produced by the resulting
makefile. It looks like the $shared_target variable never
gets d
Hodie V Id. Iun. MMVIII est, Dr. Stephen Henson scripsit:
> On Mon, Jun 09, 2008, Florian Lindner wrote:
>
> > No, the name "long Name" was only a placeholder. "problems making
> > Certificate Request" was the error message from openSSL.
> >
> > The real name is "GIMIK Systeme - Gesellschaft fЭr
Hi
I want to add my own implementation of Blowfish as an engine to OpenSSL.
Is there any sample, source code, document, etc ?
Has OID at your site been configured for ldaps ? The SSL connection on 443
if I'm not mistaken is called StartTLS which is different from ldaps.
The URL below seems to suggest that ldaps in OID does not come configured
out of the box.
http://www.politi.no/help/adoidset.htm
Saju
-Original Mes
Hi,
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
> Sent: Monday, June 09, 2008 3:36 AM
> To: openssl-users@openssl.org
> Subject: RE: ldaps client and oracle internet directory
>
> Hello,
>
> [EMAIL PROTECTED] wrote on 06/06/2008
17 matches
Mail list logo