wrongly coded SSLoth checker (#2210)

SSLoth should check minor version, not major version
This commit is contained in:
Danny Tsai 2023-03-12 23:34:05 +08:00 committed by GitHub
parent 8bbe947bfb
commit 7cbd428283
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
function isSSLothable(v) { function isSSLothable(v) {
var m = v.major; var m = v.minor;
var n = v.nver; var n = v.nver;
return ( return (
(m == 4 && n == 37) || (m == 4 && n == 37) ||