RE: Compiler does not find INT_MAX

2002-07-22 Thread Vincent Ficet
Title: RE: Compiler does not find INT_MAX Hi, As far as I know, it comes from /usr/include/limits.h in Linux (probably the same on other Unix'es), unless it has been redefined somewhere else in openssl. INT_MAX is defined as: #define INT_MAX 2147483637 Hope this helps, Regards, Vince

Copy RSA key to memory

2001-03-05 Thread Vincent Ficet
Hi all. Apologies if the following code is weird, I am new to open-ssl, all suggestions welcome :-) I need to copy some private key information into memory, and I am using a BIO for this. Code is as follows : key=BIO_new(BIO_s_mem()); buffer=BUF_MEM_new(); BIO_set_mem_buf(key, buffer