By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,538 Members | 1,337 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,538 IT Pros & Developers. It's quick & easy.

Async example of SSL in M2Crypto

P: n/a

Has anyone tried the echod-async.py example in m2crypto-0.12/demo/ssl?
I am only connecting one client, the echo.py example in the same directory.
Although the synchronous and threading examples work ok, the async server
goes into an infinite loop:-

LOOP: SSL accept: before/accept initialization
LOOP: SSL accept: SSLv3 read client hello A
LOOP: SSL accept: SSLv3 write server hello A
LOOP: SSL accept: SSLv3 write certificate A
LOOP: SSL accept: SSLv3 write key exchange A
LOOP: SSL accept: SSLv3 write certificate request A
LOOP: SSL accept: SSLv3 flush data
LOOP: SSL accept: SSLv3 read client certificate A
LOOP: SSL accept: SSLv3 read client key exchange A
LOOP: SSL accept: SSLv3 read certificate verify A
LOOP: SSL accept: SSLv3 read finished A
LOOP: SSL accept: SSLv3 write change cipher spec A
LOOP: SSL accept: SSLv3 write finished A
LOOP: SSL accept: SSLv3 flush data
INFO: SSL accept: SSL negotiation finished successfully
LOOP: SSL accept: before/accept initialization
INFO: SSL accept: SSLv3 read client hello B
INFO: SSL accept: SSLv3 read client hello B
INFO: SSL accept: SSLv3 read client hello B
etc...

I'm runnung on a newish linux, kernel 2.4.21. Both python2.1 and python2.3
display the same result.

Regards, Paul Clinch

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.