-
- Downloads
Bug 1900132 - streamline PVerifySSLServerCert protocol r=jschanck
Previously the PVerifySSLServerCert protocol consisted of two functions: one to call when certificate verification succeeded, and another to call upon failure. This was unnecessary, as the code before and after this protocol didn't have the same split. This patch unifies the protocol to better match the surrounding code. It also takes the opportunity to make use of some IPC helpers to serialize enums rather than manually casting to and from basic integer types. Differential Revision: https://phabricator.services.mozilla.com/D212594
Showing
- ipc/glue/TransportSecurityInfoUtils.h 7 additions, 0 deletionsipc/glue/TransportSecurityInfoUtils.h
- security/manager/ssl/PVerifySSLServerCert.ipdl 16 additions, 7 deletionssecurity/manager/ssl/PVerifySSLServerCert.ipdl
- security/manager/ssl/SSLServerCertVerification.cpp 10 additions, 3 deletionssecurity/manager/ssl/SSLServerCertVerification.cpp
- security/manager/ssl/VerifySSLServerCertChild.cpp 11 additions, 21 deletionssecurity/manager/ssl/VerifySSLServerCertChild.cpp
- security/manager/ssl/VerifySSLServerCertChild.h 5 additions, 6 deletionssecurity/manager/ssl/VerifySSLServerCertChild.h
- security/manager/ssl/VerifySSLServerCertParent.cpp 10 additions, 13 deletionssecurity/manager/ssl/VerifySSLServerCertParent.cpp
- security/manager/ssl/VerifySSLServerCertParent.h 7 additions, 7 deletionssecurity/manager/ssl/VerifySSLServerCertParent.h
Loading
Please register or sign in to comment