mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 986171 - mozilla::pkix: telemetry for what cert validation library is in use r=cviecco
This commit is contained in:
parent
b72a98810f
commit
d56c7b6534
@ -982,6 +982,16 @@ void nsNSSComponent::setValidationOptions(bool isInitialSetting,
|
||||
#endif
|
||||
}
|
||||
|
||||
if (isInitialSetting) {
|
||||
if (certVerifierImplementation == CertVerifier::classic) {
|
||||
Telemetry::Accumulate(Telemetry::CERT_VALIDATION_LIBRARY, 1);
|
||||
} else if (certVerifierImplementation == CertVerifier::libpkix) {
|
||||
Telemetry::Accumulate(Telemetry::CERT_VALIDATION_LIBRARY, 2);
|
||||
} else if (certVerifierImplementation == CertVerifier::mozillapkix) {
|
||||
Telemetry::Accumulate(Telemetry::CERT_VALIDATION_LIBRARY, 3);
|
||||
}
|
||||
}
|
||||
|
||||
CertVerifier::ocsp_download_config odc;
|
||||
CertVerifier::ocsp_strict_config osc;
|
||||
CertVerifier::ocsp_get_config ogc;
|
||||
|
@ -1210,6 +1210,12 @@
|
||||
"extended_statistics_ok": true,
|
||||
"description": "ms elapsed time of OCSP etc.. that failed"
|
||||
},
|
||||
"CERT_VALIDATION_LIBRARY": {
|
||||
"expires_in_version": "never",
|
||||
"kind": "enumerated",
|
||||
"n_values": 4,
|
||||
"description": "Which certificate validation library is in use? (1=classic, 2=libpkix, 3=mozilla::pkix)"
|
||||
},
|
||||
"SSL_KEY_EXCHANGE_ALGORITHM_FULL": {
|
||||
"expires_in_version": "never",
|
||||
"kind": "enumerated",
|
||||
|
Loading…
Reference in New Issue
Block a user