[openssl.org #1831] PATCH: openssl rand -hex

2009-01-31 Thread Bodo Moeller via RT
> [...@mindrot.org - Fr. 30. Jan. 2009, 11:52:17]: > This patch adds a -hex option to the rand app. E.g. > > $ openssl rand -hex 8 > d203552d5eb39e76 What is the rationale of not having a newline at the end? It's text, after all? Bodo __

Re: [openssl.org #1834] PKCS7_verify return value -1?

2009-01-31 Thread Bodo Moeller via RT
On Fri, Jan 30, 2009 at 10:37 PM, Kurt Roeckx via RT wrote: > The documentation for PKCS7_verify says: > > PKCS7_verify() returns 1 for a successful verification and zero or a > negative value if an error occurs. > > And in apps/smime.c there is this code: > >if (PKCS7

Re: [openssl.org #1834] PKCS7_verify return value -1?

2009-01-31 Thread Bodo Moeller
On Fri, Jan 30, 2009 at 10:37 PM, Kurt Roeckx via RT wrote: > The documentation for PKCS7_verify says: > > PKCS7_verify() returns 1 for a successful verification and zero or a > negative value if an error occurs. > > And in apps/smime.c there is this code: > >if (PKCS7

Re: [openssl.org #1832] PATCH: force IPv4/IPv6 for s_client

2009-01-31 Thread Corinna Vinschen
On Jan 30 11:52, (Damien Miller) via RT wrote: > Hi, > > This diff changes the s_client and s_server apps to use getaddrinfo > for address parsing rather than manual IPv4 parsing and gethostbyname. The patch appears to remove the call to GetHostByName entirely. What about systems not supporting

Re: [openssl.org #1834] PKCS7_verify return value -1?

2009-01-31 Thread Kosta Welke
Kurt Roeckx wrote: On Sat, 31 Jan 2009 02:15:21 +0100, David Schwartz wrote: The documentation for PKCS7_verify says: PKCS7_verify() returns 1 for a successful verification and zero or a negative value if an error occurs. This is correct. And in apps/smime.c there is