Removing M2Crypto debug data in production code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ola Natvig

    #1

    Removing M2Crypto debug data in production code


    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@inf osense.no>
    infoSense AS / development
Working...