mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
Previously PSM would load EV information on-demand (i.e. just before verifying a certificate). This simplifies this operation, removes a dubious optimization (loading the EV information on another thread while opening a network connection), and relocates the loading operation to when we are likely to have good disk locality (i.e. when we've just loaded the built-in roots module). This also removes the now-unused MOZ_NO_EV_CERTS build flag. MozReview-Commit-ID: 8Rnl4ozF95V
20 lines
599 B
C++
20 lines
599 B
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
#ifndef _SSLSERVERCERTVERIFICATION_H
|
|
#define _SSLSERVERCERTVERIFICATION_H
|
|
|
|
#include "seccomon.h"
|
|
#include "prio.h"
|
|
|
|
namespace mozilla { namespace psm {
|
|
|
|
SECStatus AuthCertificateHook(void* arg, PRFileDesc* fd,
|
|
PRBool checkSig, PRBool isServer);
|
|
|
|
} } // namespace mozilla::psm
|
|
|
|
#endif
|