Line data Source code
1 : /* SPDX-FileCopyrightText: Copyright 2026 Cozens Software Solutions Limited
2 : * SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 OR LicenseRef-PolyForm-Internal-Use-1.0.0 OR LicenseRef-COSOSO-Commercial
3 : */
4 :
5 : #include "SolidSyslogWolfSslSettings.h"
6 :
7 : #include "SolidSyslogWolfSslStreamPrivate.h"
8 :
9 : /* No body can check a pin on a chain that verifies, so anchors and pins
10 : * together are refused at Open, and a pin alone is checked in the callback,
11 : * which every unanchored chain reaches. Nothing is kept to check again. */
12 : #if SOLIDSYSLOG_WOLFSSL_ANCHORED_PIN_CHECK == SOLIDSYSLOG_WOLFSSL_ANCHORED_PIN_CHECK_REFUSED
13 :
14 4 : enum SolidSyslogWolfSslAnchoredPinCheck SolidSyslogWolfSslStream_AnchoredPinCheck(void)
15 : {
16 4 : return SOLIDSYSLOG_WOLFSSL_PIN_BESIDE_ANCHORS_REFUSED;
17 : }
18 :
19 1 : void SolidSyslogWolfSslStream_AuthoriseKeptPeer(struct SolidSyslogWolfSslStream* self)
20 : {
21 : (void) self;
22 1 : }
23 :
24 : #endif
|