Re: ./config and -no-zlib

2012-12-28 Thread Jeffrey Walton
On Fri, Dec 28, 2012 at 6:32 PM, Dr. Stephen Henson wrote: > On Fri, Dec 28, 2012, Jeffrey Walton wrote: > >> On Fri, Dec 28, 2012 at 3:23 PM, Michael Mueller wrote: >> > i was going to do this: >> > >> > SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_COMPRESSION); >> Yeah, it looks like th

Re: ./config and -no-zlib

2012-12-28 Thread Dr. Stephen Henson
On Fri, Dec 28, 2012, Jeffrey Walton wrote: > On Fri, Dec 28, 2012 at 3:23 PM, Michael Mueller wrote: > > i was going to do this: > > > > SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_COMPRESSION); > Yeah, it looks like that's the option. I would prefer to remove the > code paths all toget

Re: DH-algorithm using OpenSSL

2012-12-28 Thread Jeffrey Walton
On Fri, Dec 28, 2012 at 4:32 PM, Hemayamini Kurra wrote: > Thanks for the reply Jeff!! > > The problem comes when I try to send the values of prime and publickey to > peer. As I am converting BIGNUM to binary and then at the peer the other way > round, The parameters are not received properly by t

Re: DH-algorithm using OpenSSL

2012-12-28 Thread Hemayamini Kurra
Thanks for the reply Jeff!! The problem comes when I try to send the values of prime and publickey to peer. As I am converting BIGNUM to binary and then at the peer the other way round, The parameters are not received properly by the peer!! On Fri, Dec 28, 2012 at 2:28 PM, Jeffrey Walton wrote:

Re: DH-algorithm using OpenSSL

2012-12-28 Thread Jeffrey Walton
On Fri, Dec 28, 2012 at 3:37 PM, Hemayamini Kurra wrote: > Hello!! > > I am implementing DH algorithm using OpenSSL library. > My scenario is - > using DH key exchange algorithm for key generation and exchange between > client and server. Using DSA for two way authentication. > server: Could be tr

Re: ./config and -no-zlib

2012-12-28 Thread Jeffrey Walton
On Fri, Dec 28, 2012 at 3:14 PM, Jeffrey Walton wrote: > On Fri, Dec 28, 2012 at 7:48 AM, Michael Mueller wrote: >> i compiled openssl with no-zlib >> >> ldd client >> linux-vdso.so.1 => (0x7fff059ff000) >> libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x7fefccdc9000) >>

Re: ./config and -no-zlib

2012-12-28 Thread Jeffrey Walton
On Fri, Dec 28, 2012 at 3:23 PM, Michael Mueller wrote: > i was going to do this: > > SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_COMPRESSION); Yeah, it looks like that's the option. I would prefer to remove the code paths all together though. If the code path does not exist, it cannot b

Re: ./config and -no-zlib

2012-12-28 Thread Michael Mueller
i was going to do this: SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_COMPRESSION); On Fri, Dec 28, 2012 at 3:14 PM, Jeffrey Walton wrote: > On Fri, Dec 28, 2012 at 7:48 AM, Michael Mueller > wrote: > > i compiled openssl with no-zlib > > > > ldd client > > linux-vdso.so.1 =>

Re: ./config and -no-zlib

2012-12-28 Thread Jeffrey Walton
On Fri, Dec 28, 2012 at 7:48 AM, Michael Mueller wrote: > i compiled openssl with no-zlib > > ldd client > linux-vdso.so.1 => (0x7fff059ff000) > libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x7fefccdc9000) > libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x7fef

Re: ./config and -no-zlib

2012-12-28 Thread Michael Mueller
i compiled openssl with no-zlib here is ldd of my client: > ldd client linux-vdso.so.1 => (0x7fff059ff000) libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x7fefccdc9000) libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x7fefcca17000) libpthread.so.0 => /l