keyLog_callback: flush the descriptor to make sure it is written out
This commit is contained in:
parent
c1a49fef99
commit
948d7ae761
@ -34625,6 +34625,7 @@ static void keyLog_callback(const WOLFSSL* ssl, const char* line )
|
||||
fp = XFOPEN("./MyKeyLog.txt", "a");
|
||||
XFWRITE( line, 1, strlen(line),fp);
|
||||
XFWRITE( (void*)&lf,1,1,fp);
|
||||
XFFLUSH(fp);
|
||||
XFCLOSE(fp);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user