cozybit / authsae

Simultaneous Authentication of Equals: Unofficial official clone of the now stale http://sourceforge.net/projects/authsae
31 stars 28 forks source link

Flush buffer after printing log message in sae_debug() #78

Closed ilyacodes closed 6 years ago

ilyacodes commented 6 years ago

Without flushing the buffer in sae_debug(), a case can exist where the log doesn't line up correctly with external callers' logs when using libsae. This adds a flush to help make sure logs are printed immediately.