File tree Expand file tree Collapse file tree
src/client/components/Results Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import Row from 'client/components/Form/Row';
33
44const yesNo = ( v : boolean ) => ( v ? '✅ Yes' : '❌ No' ) ;
55
6+ const ocspStatus = ( v : boolean ) => ( v ? 'Yes' : 'Not enabled' ) ;
7+
68const formatEphemeralKey = ( k : any ) : string => {
79 if ( ! k ?. type ) return '' ;
810 const parts = [ k . type ] ;
@@ -28,7 +30,7 @@ const TlsConnectionCard = (props: {
2830 { d . alpnProtocol && < Row lbl = "ALPN" val = { d . alpnProtocol } /> }
2931 < Row lbl = "Forward Secrecy" val = { yesNo ( ! ! d . forwardSecrecy ) } />
3032 < Row lbl = "Session Resumption" val = { yesNo ( ! ! d . sessionResumption ) } />
31- < Row lbl = "OCSP Stapling" val = { yesNo ( ! ! d . ocspStapled ) } />
33+ < Row lbl = "OCSP Stapling" val = { ocspStatus ( ! ! d . ocspStapled ) } />
3234 < Row
3335 lbl = "Certificate Trust"
3436 val = { d . authorized ? '✅ Trusted' : `❌ ${ d . authError || 'Untrusted' } ` }
You can’t perform that action at this time.
0 commit comments