RE: ssl_write returned ssl_error_ssl: urgent help needed

2009-11-18 Thread Jeremy Farrell
There's probably something wrong with your code, but from the information you've presented it's difficult to be more precise. I don't see what your question has to do with developing OpenSSL, so I've dropped openssl-dev from the thread. http://www.catb.org/~esr/faqs/smart-questions.html _

RE: how to decrypt a binary file which is encryptes by aes 256 cbc mode

2009-11-18 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of NaGaGo > Sent: Tuesday, 17 November, 2009 05:35 > #include > #inclide > #incldue I assume these were just a hint that the real code has correct #include's. > int main() > { > > unsigned long lSize; > FILE * inFile; > FILE *

RE: Getting started - d2i_PKCS12_fp: on Win

2009-11-18 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Tim Ward > Sent: Tuesday, 17 November, 2009 16:29 > From: "Dave Thompson" > > What toolset (mingw or msvc, and which version) and library build > > (own or other) are you using? > VC2005. Debug build compiles all the modules with /MDd, relea

ssl3_write_pending() and SIGSEGV

2009-11-18 Thread Sebastián Treu
Hi, I'm debugging my server and I found that behind SSL_write() there are ssl3_write_bytes() and ssl3_write_pending(). I assume that the last function has a queue of pending messages that has to be sent. Before SIGSEGV I was having SIGPIPE. When I ignored SIGPIPE (should I?) sometimes I fall on a

Re: DTLS ClientHello exchange broken by renegotiation patch in 0.9.8l

2009-11-18 Thread Dr. Stephen Henson
On Tue, Nov 17, 2009, Alex Lam wrote: > Hi Steve, > > Is there a 0.9.8m with the DTLS and TLS reneg fix planned in the near > future? > Unfortunately we are at the mercy of the standardisation process. We can't release a version of OpenSSL out there which uses a technique which might change dur

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread NaGaGo
Hi I used the real key and IV now , But there is some problem in decrypting firat 16 bytescan you tell why is this happening... the first 16 bytes are read properly but not gettin g decrypted??What could be reason for this? because of this my code is returning an error in decrypt final.. Than

Help on cross-compiling openssl to a Fonera2.0n

2009-11-18 Thread Angel Sánchez
Hi! I was just porting an application to the Fonera 2.0n ( http://en.wikipedia.org/wiki/Fonera#Fonera_2.0n ), and openssl is one of its dependencies, so I am cross-compiling it. I have the toolchain for the platform, it's based on openwrt. And built some required libraries on the Fonera and

Unable to create root certificate in FC7

2009-11-18 Thread Anoop C
Hi I am getting the following error while generating root certificate. I am using FC7 with the following openssl packages openssl-0.9.6g.tar.gz openssl-0.9.7-beta3.tar.gz openssl-SNAP-20021027.tar.gz The same was working with RHEL3 and Redhat 4 openssl: error while loading shared l

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread Christian Hohnstaedt
Hi NaGaGo, the keylen and ivlen are off by one: int keyLength = sizeof(uKey) -1; /* == strlen(uKey) */ int ivLength = sizeof(iv) -1; (and really use it later instead of "8*sizeof(uKey)") HTH Christian On Tue, Nov 17, 2009 at 09:06:07PM -0800, NaGaGo wrote: > > Hi christian

Re: ssl_write returned ssl_error_ssl: urgent help needed

2009-11-18 Thread luiz
Hi i use the follow to write to ssl int hb_inetSSLWrite( SSL* pSSL, int iSock,int iTimeout char * msg, int length, int* iRet) { int ret; int sslerr; int r; fd_set fd_r, fd_w; struct timeval tv; do { ret = SSL_write(pSSL, msg, length); sslerr = SSL_get_error(pS

Re: Error in building openssl-1.0.0-beta4 in AIX

2009-11-18 Thread joshi chandran
Hi Stephen, I have done some testing with openssl-1.0.0-beta4 version of openssl . I have noticed when ever i give any option like no-idea no-rc5 no-ec no-symlinks, I gets above mention error. (/usr/bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected. make: 1254-004 The error code from t

ssl_write returned ssl_error_ssl: urgent help needed

2009-11-18 Thread sandeep.kumar17
Hi, I got some weird error. help needed urgent. SSL_write() is returned with error "SSL3_WRITE_PENDING:bad write retry". I have tried with flags "PARTIAL_WRITE" and "AUTO_RETRY" and "MOVING BUFFER". Still i am facing this problem. Any temporary workaround will also be appreciated. Thanks & Regar

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread NaGaGo
Hi christian, Thank you very much for your help...I was thinking the same but I already tried with real key... and even I changed the code for getting the file size also but yet my program didn't give me correct out put... The problem actually is the files which i'm getting when I decrypt the bin