forked from osmocom/wireshark
From Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6596 :
Allow reading SSL keylog files with carriage returns. svn path=/trunk/; revision=52197
This commit is contained in:
parent
d456079b7e
commit
6d255f8633
1 changed files with 4 additions and 0 deletions
|
@ -4194,6 +4194,10 @@ ssl_keylog_lookup(SslDecryptSession* ssl_session,
|
|||
line[bytes_read - 1] = 0;
|
||||
bytes_read--;
|
||||
}
|
||||
if (bytes_read > 0 && line[bytes_read - 1] == '\r') {
|
||||
line[bytes_read - 1] = 0;
|
||||
bytes_read--;
|
||||
}
|
||||
|
||||
ssl_debug_printf(" checking keylog line: %s\n", line);
|
||||
|
||||
|
|
Loading…
Reference in a new issue