Re: Problems linking against OpenSSL with mingw

2009-09-20 Thread Eystein Måløy Stenberg
You nailed it. "gcc -I/usr/local/ssl/include -L/usr/local/ssl/lib aes.c -lcrypto" works perfectly. However, on Red Hat, it compiles and links no matter where I put the input file (checked it again). Thank you very much! -Eystein On Mon, Sep 21, 2009 at 12:30 AM, Dave Thompson wrote: >> From: ow

Re: Use of generic name "STRING" in safestack.h

2009-09-20 Thread Eystein Måløy Stenberg
Thank you Stephen. I downloaded "openssl-1.0.0-stable-SNAP-20090921.tar.gz", and configured it with "./Configure mingw shared". make succeeds without any modififcations. Furthrermore, the following code compiles successfully --- #include #include #include int main() { OPENSSL_STRING a; ST

RE: Problems linking against OpenSSL with mingw

2009-09-20 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Eystein Måløy Stenberg > Sent: Sunday, 20 September, 2009 15:13 > I try to compile it, on both mingw installations, with: "gcc > -I/usr/local/ssl/include -L/usr/local/ssl/lib -lcrypto aes.c", which > gives: > --- > C:\Users\Limit\AppData\Local\

RE: Problems linking against OpenSSL with mingw

2009-09-20 Thread Jeremy Farrell
> From: Eystein Måløy Stenberg > > I manage to build OpenSSL beta3 successfully on two mingw > installations - one on 32 bit WinXP (mingw.org), and one on 64 bit > Vista (http://sourceforge.net/projects/mingw-w64/). > I use "./Configure mingw shared" and "./Configure mingw64 no-asm > no-shared", r

RE: SSL_Connect fails with error SSL_ERROR_SSL

2009-09-20 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Kyle Hamilton > Sent: Friday, 18 September, 2009 15:07 > Once you receive SSL_ERROR_SSL, the next step is to use > ERR_get_error(3ssl) to figure out what the specific SSL error was. > Before you do this, you should call ERR_load_crypto_strings(3

Problems linking against OpenSSL with mingw

2009-09-20 Thread Eystein Måløy Stenberg
Hi all, I manage to build OpenSSL beta3 successfully on two mingw installations - one on 32 bit WinXP (mingw.org), and one on 64 bit Vista (http://sourceforge.net/projects/mingw-w64/). I use "./Configure mingw shared" and "./Configure mingw64 no-asm no-shared", respectively (followed by make, make

Encrypting 32/64 bit integers

2009-09-20 Thread musikit
hello, please forgive me as i am not an OpenSSL or encryption expert. i am already using OpenSSL to do encryption of strings and it works awesome. i do have a question about encrypting smaller amounts of data though. my code basically goes as follows Encrypt(datato, datafrom) { EVP_EncryptInit

Re: Use of generic name "STRING" in safestack.h

2009-09-20 Thread Dr. Stephen Henson
On Fri, Sep 18, 2009, Eystein Mly Stenberg wrote: > Hi Steve, > Thank you for your quick reply. > I tried "openssl-1.0.0-stable-SNAP-20090918.tar.gz", but got into some > build problems again: > ... > rand_win.c: In function `RAND_poll': > rand_win.c:517: error: `__try' undeclared (first use in th

Re: add extension to an existing (signed) CA certificate

2009-09-20 Thread jehan procaccia
jehan procaccia a écrit : Peter Sylvester a écrit : well, if one takes the standard configuration of openssl, it sets the authoritykey_identifier both the hash and issuer serial, no exception for the root. comment says that pkix recommends that. yes , and the thread you refered me on this list