Skip to content

Commit 82560da

Browse files
authored
Merge pull request #426 from tls-attacker/prf_fix
Fixed copy paste bug
2 parents 990fa63 + 9de0ca7 commit 82560da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TLS-Scanner-Core/src/main/java/de/rub/nds/tlsscanner/core/probe/ciphersuite/CipherSuiteEvaluationHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ public void mergeData(TlsScanReport report, TlsProbe probe) {
184184
if (prfAlgorithm == PRFAlgorithm.TLS_PRF_LEGACY) {
185185
supportsLegacyPrf = TestResults.TRUE;
186186
}
187-
if (prfAlgorithm == PRFAlgorithm.TLS_PRF_LEGACY) {
187+
if (prfAlgorithm == PRFAlgorithm.TLS_PRF_SHA256) {
188188
supportsSha256Prf = TestResults.TRUE;
189189
}
190-
if (prfAlgorithm == PRFAlgorithm.TLS_PRF_LEGACY) {
190+
if (prfAlgorithm == PRFAlgorithm.TLS_PRF_SHA384) {
191191
supportsSha384Prf = TestResults.TRUE;
192192
}
193193
}

0 commit comments

Comments
 (0)