RE: Using libcrypto's RSA code

2013-04-17 Thread Salz, Rich
>No sane Base64 decoder should care. But the code in crypto/evp/bio_b64.c >seems to be stupidly line oriented >with small line buffers in an overcomplicated state, when a streaming Base64 >encoder/decoder should be able >to get away with a few unsigned ints and a state machine. The current beha

X509_LOOKUP_load_file -> X509_LOOKUP_load_charbuf

2013-04-17 Thread Alexander.Elgert
Hello, I have just a little question regarding this line of code openssl/apps/apps.c: if(!X509_LOOKUP_load_file(lookup,CAfile,X509_FILETYPE_PEM)) { I want to load the data from a buffer instead of CAfile (without writing the data into the file CAfile). How do I do that? what functi

Re: Using libcrypto's RSA code

2013-04-17 Thread Jakob Bohm
On 4/16/2013 10:28 PM, Dave Thompson wrote: From: owner-openssl-us...@openssl.org On Behalf Of Zach Sent: Tuesday, 16 April, 2013 15:55 I'm still getting an error when trying to read this key using the BIO interface: Error: error:0906D064:PEM routines:PEM_read_bio:bad base64 decode ... The

RE: BN_num_bits segv fault

2013-04-17 Thread Gopakumar Pillai
Yes Jakob, it's compiled against openssl-1.0.1e (and also zlib-1.2.3.4 and c-ares-1.9.1) --Gopu -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Jakob Bohm Sent: Wednesday, April 17, 2013 3:03 PM To: openssl-users@openssl.org

Re: BN_num_bits segv fault

2013-04-17 Thread Jakob Bohm
On 4/17/2013 9:48 PM, Gopakumar Pillai wrote: Hi All, I am in the process of upgrading from 0.9.8 to 1.0.1e – hence I requested some info earlier, Thanks a ton for all the wonderful answers (didn’t want to spam by just sending a Thank You note). Working on Ubuntu 12.04, 32 bit I am facing this

Re: AW: CRYPTO_malloc (num=12, file=0x81e3ba9 "lhash.c", line=193) at mem.c:308

2013-04-17 Thread Jakob Bohm
On 4/17/2013 3:58 PM, alexander.elg...@external.t-systems.com wrote: I got it, it was my fault, using dmalloc shows: 27 (ERROR_OVER_FENCE) failed OVER picket-fence magic-number check It was a malloc(sizen) and and a strncpy(... sizen) ... ;( Surprisingly this results in an error many mallocs lat

BN_num_bits segv fault

2013-04-17 Thread Gopakumar Pillai
Hi All, I am in the process of upgrading from 0.9.8 to 1.0.1e - hence I requested some info earlier, Thanks a ton for all the wonderful answers (didn't want to spam by just sending a Thank You note). Working on Ubuntu 12.04, 32 bit I am facing this issue with curl-7.29.0 (for that matter all c

Re: SSL / SMTP

2013-04-17 Thread Dr. Stephen Henson
On Wed, Apr 17, 2013, Joan Moreau wrote: > Le 16/04/2013 15:11, Joan Moreau a écrit : > > >Hi, > > > >Since I upgraded my kernel (and rebuilt openssl), I get the > >following errors in Postfix: > > > >2013-04-15T13:55:29.921960+02:00 server postfix/smtpd[3308]: > >warning: TLS library problem: 33

Re: [openssl-users] Re: SSL / SMTP

2013-04-17 Thread Erwann Abalea
Le 17/04/2013 18:40, Joan Moreau a écrit : Le 17/04/2013 14:18, Viktor Dukhovni a écrit : On Wed, Apr 17, 2013 at 07:24:23AM +, Joan Moreau wrote: 2013-04-17T09:17:36.573675+02:00 server postfix/smtpd[16725]: warning: TLS library problem: 16725:error:140D308A:SSL routines:TLS1_SETUP_KEY_

Re: SSL / SMTP

2013-04-17 Thread Viktor Dukhovni
On Wed, Apr 17, 2013 at 04:40:55PM +, Joan Moreau wrote: > >No. Install a fresh O/S image on new hardware and use that as your > >mail server. If a fresh install with the default Postfix for the > >O/S does not work, come back to the Postfix-users list for help. > > > >You've already consumed

Re: SSL / SMTP

2013-04-17 Thread Joan Moreau
Le 17/04/2013 14:18, Viktor Dukhovni a écrit : On Wed, Apr 17, 2013 at 07:24:23AM +, Joan Moreau wrote: 2013-04-17T09:17:36.573675+02:00 server postfix/smtpd[16725]: warning: TLS library problem: 16725:error:140D308A:SSL routines:TLS1_SETUP_KEY_BLOCK:cipher or hash unavailable:t1_enc.c:59

Re: SSL / SMTP

2013-04-17 Thread Viktor Dukhovni
On Wed, Apr 17, 2013 at 07:24:23AM +, Joan Moreau wrote: > 2013-04-17T09:17:36.573675+02:00 server postfix/smtpd[16725]: > warning: TLS library problem: 16725:error:140D308A:SSL > routines:TLS1_SETUP_KEY_BLOCK:cipher or hash > unavailable:t1_enc.c:597: > 2013-04-17T09:17:36.573971+02:00 server

AW: CRYPTO_malloc (num=12, file=0x81e3ba9 "lhash.c", line=193) at mem.c:308

2013-04-17 Thread Alexander.Elgert
I got it, it was my fault, using dmalloc shows: 27 (ERROR_OVER_FENCE) failed OVER picket-fence magic-number check It was a malloc(sizen) and and a strncpy(... sizen) ... ;( Surprisingly this results in an error many mallocs later. -- Deutsche Telekom AG Seamless ICT Security Infrastructure & Mana

Re: SSL / SMTP

2013-04-17 Thread Joan Moreau
Le 16/04/2013 15:11, Joan Moreau a écrit : Hi, Since I upgraded my kernel (and rebuilt openssl), I get the following errors in Postfix: 2013-04-15T13:55:29.921960+02:00 server postfix/smtpd[3308]: warning: TLS library problem: 3308:error:1411C146:SSL routines:tls1_prf:unsupported digest ty