segmentation fault printing x509 attributes

2010-11-28 Thread Ignacio Amoeiro Bosch
Hi, I'm developing a custom module for Oracle Access Manager. It needs to read some attributes from a certificate. The following code Works in a standalone c program, but crash (with a seg fault) using it as a module. The crash occurs at line : X509_get_version(x), or any method that

Re: [openssl.org #2382] Win98 mingw problem with openssl head

2010-11-28 Thread Andy Polyakov via RT
In compiling openssl head (tarball from 18 November 2010) for mingw under cygwin on a Windows98 machine, I.e. it's linked with msvcrt.dll, right? It also means that non-vendor linker is involved... I came across a problem in crypto/bss_file.c. The code compiles fine on Windows98 and the

Re: [openssl.org #2381] MinGW builds are being optimized for MS-DOS

2010-11-28 Thread Andy Polyakov via RT
i'm not sure how people are still able to use it from Cygwin; all i get if i do a simple ./Configure mingw then make is: gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler. then it errors out before even compiling the first object. Not all people unconditionally

Re: [openssl.org #2381] MinGW builds are being optimized for MS-DOS

2010-11-28 Thread Zouzou via RT
i stand corrected about -mno-cygwin, it does seem great and i can understand why one would want not letting go of it. it's hard to find info about it on cygwin.com, but searching through their mailing list archives, there are tons of messages evocating it. some dating from year 2000 were

Re: [openssl.org #2382] Win98 mingw problem with openssl head

2010-11-28 Thread Doug Kaufman
On Sun, 28 Nov 2010, Andy Polyakov via RT wrote: (I wrote): In compiling openssl head (tarball from 18 November 2010) for mingw under cygwin on a Windows98 machine, I.e. it's linked with msvcrt.dll, right? It also means that non-vendor linker is involved... It is linked with GNU ld

RE: RE: How to Setup a directory for using whith with SSL_CTX_load_verify_locations and how to get CAs

2010-11-28 Thread Dave Thompson
From: owner-openssl-...@openssl.org On Behalf Of Michael Biener Sent: Tuesday, 23 November, 2010 05:40 i run c_rehash script from openssl 0.9.8 on the directory created me files named with the hash Value. the content of the files looks like !symlinkÿþM not working with these files. so I

Re: segmentation fault printing x509 attributes

2010-11-28 Thread David Schwartz
On 11/28/2010 1:53 AM, Ignacio Amoeiro Bosch wrote: The following code Works in a standalone c program, but crash (with a seg fault) using it as a module. The crash occurs at line : X509_get_version(x), or any method that uses x My guess would be that the OpenSSL headers you are compiling