mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
make version_ok return true for TLSv12
I think it is a bug that this was missing...
This commit is contained in:
parent
d205eb8882
commit
58e2b70fc8
2 changed files with 3 additions and 1 deletions
|
@ -93,6 +93,7 @@ function version_ok(vers : uint16) : bool
|
||||||
case SSLv30:
|
case SSLv30:
|
||||||
case TLSv10:
|
case TLSv10:
|
||||||
case TLSv11:
|
case TLSv11:
|
||||||
|
case TLSv12:
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -22,5 +22,6 @@ enum SSLVersions {
|
||||||
SSLv20 = 0x0002,
|
SSLv20 = 0x0002,
|
||||||
SSLv30 = 0x0300,
|
SSLv30 = 0x0300,
|
||||||
TLSv10 = 0x0301,
|
TLSv10 = 0x0301,
|
||||||
TLSv11 = 0x0302
|
TLSv11 = 0x0302,
|
||||||
|
TLSv12 = 0x0303
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue