@@ -1496,27 +1496,34 @@ def __init__(self):
14961496 label = "detail web tls kex-hash-func label" ,
14971497 explanation = "detail web tls kex-hash-func exp" ,
14981498 tech_string = "detail web tls kex-hash-func tech table" ,
1499- worst_status = scoring . WEB_TLS_KEX_HASH_FUNC_WORST_STATUS ,
1499+ worst_status = STATUS_INFO ,
15001500 full_score = scoring .WEB_TLS_KEX_HASH_FUNC_GOOD ,
15011501 model_score_field = "kex_hash_func_score" ,
15021502 )
15031503
1504+ def was_tested (self ):
1505+ self .worst_status = STATUS_FAIL
1506+
15041507 def result_good (self ):
1508+ self .was_tested ()
15051509 self ._status (STATUS_SUCCESS )
15061510 self .verdict = "detail web tls kex-hash-func verdict good"
15071511 self .tech_data = "detail tech data good"
15081512
15091513 def result_bad (self ):
1514+ self .was_tested ()
15101515 self ._status (STATUS_FAIL )
15111516 self .verdict = "detail web tls kex-hash-func verdict bad"
15121517 self .tech_data = "detail tech data insufficient"
15131518
15141519 def result_unknown (self ):
1520+ self .was_tested ()
15151521 self ._status (STATUS_INFO )
15161522 self .verdict = "detail web tls kex-hash-func verdict other"
15171523 self .tech_data = "detail tech data not-applicable"
15181524
15191525 def result_phase_out (self ):
1526+ self .was_tested ()
15201527 self ._status (STATUS_NOTICE )
15211528 self .verdict = "detail web tls kex-hash-func verdict phase-out"
15221529 self .tech_data = "detail tech data phase-out"
@@ -2123,7 +2130,7 @@ def __init__(self):
21232130 )
21242131
21252132 def was_tested (self ):
2126- self .worst_status = scoring . MAIL_TLS_KEX_HASH_FUNC_WORST_STATUS
2133+ self .worst_status = STATUS_FAIL
21272134
21282135 def result_good (self ):
21292136 self .was_tested ()
@@ -2133,7 +2140,7 @@ def result_good(self):
21332140
21342141 def result_bad (self ):
21352142 self .was_tested ()
2136- self ._status (STATUS_NOTICE )
2143+ self ._status (STATUS_FAIL )
21372144 self .verdict = "detail mail tls kex-hash-func verdict bad"
21382145 self .tech_data = "detail tech data insufficient"
21392146
0 commit comments