[PYTHON-CRYPTO] FW: Removing M2Crypto debug data in production code

Ola Natvig lists at INFOSENSE.NO
Wed Jan 12 17:43:24 CET 2005


Hi all

I'm writing a SSL server and we are using M2Crypto as our SSL engine.
What bothers me is that on every accept it prints a lot of 'junk-data'
to my stdout. It would be nice if someone knew a way to get M2Crypto out
of debug mode and into a more silent mode.

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 server done A
LOOP: SSL accept: SSLv3 flush data
LOOP: SSL accept: SSLv3 read client key exchange 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

regards
Ola Natvig

--
--------------------------------------
  Ola Natvig <ola.natvig at infosense.no>
  infoSense AS / development





More information about the python-crypto mailing list