|
444 | 444 | <a href="#444" id="444">444</a> |
445 | 445 | <a href="#445" id="445">445</a> |
446 | 446 | <a href="#446" id="446">446</a> |
447 | | -<a href="#447" id="447">447</a> |
448 | | -<a href="#448" id="448">448</a> |
449 | | -<a href="#449" id="449">449</a> |
450 | | -<a href="#450" id="450">450</a> |
451 | | -<a href="#451" id="451">451</a> |
452 | | -<a href="#452" id="452">452</a> |
453 | | -<a href="#453" id="453">453</a> |
454 | 447 | </pre></div><pre class="rust"><code><span class="kw">use </span>std::fmt::Debug; |
455 | 448 |
|
456 | 449 | <span class="kw">use </span>puffin::agent::AgentName; |
|
878 | 871 | security_claims::ClaimType::CLAIM_END_OF_EARLY_DATA => <span class="prelude-val">None</span>, |
879 | 872 | security_claims::ClaimType::CLAIM_CERTIFICATE => <span class="prelude-val">None</span>, |
880 | 873 | security_claims::ClaimType::CLAIM_KEY_EXCHANGE => <span class="prelude-val">None</span>, |
881 | | - <span class="comment">// FIXME it is weird that this returns the correct transcript |
882 | | - </span>security_claims::ClaimType::CLAIM_CERTIFICATE_VERIFY => { |
883 | | - <span class="kw">if </span>claim.write == <span class="number">0 </span>{ |
884 | | - <span class="prelude-val">Some</span>(ClaimData::Transcript(ClaimDataTranscript::ServerFinished( |
885 | | - TranscriptServerFinished(TlsTranscript( |
886 | | - claim.transcript.data, |
887 | | - claim.transcript.length, |
888 | | - )), |
889 | | - ))) |
890 | | - } <span class="kw">else </span>{ |
891 | | - <span class="prelude-val">None |
892 | | - </span>} |
893 | | - } |
| 874 | + security_claims::ClaimType::CLAIM_CERTIFICATE_VERIFY => <span class="prelude-val">Some</span>(ClaimData::Transcript( |
| 875 | + ClaimDataTranscript::ServerFinished(TranscriptServerFinished(TlsTranscript( |
| 876 | + claim.transcript.data, |
| 877 | + claim.transcript.length, |
| 878 | + ))), |
| 879 | + )), |
894 | 880 | security_claims::ClaimType::CLAIM_KEY_UPDATE => <span class="prelude-val">None</span>, |
895 | 881 | security_claims::ClaimType::CLAIM_HELLO_REQUEST => <span class="prelude-val">None</span>, |
896 | 882 | security_claims::ClaimType::CLAIM_SERVER_HELLO => <span class="prelude-val">None</span>, |
|
0 commit comments