forked from wolfSSL/wolfssl
add back in haveTrustPeer variable and put macro guard on WC_RNG typedef
This commit is contained in:
@ -6763,6 +6763,10 @@ static int DoCertificate(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
DoCertArgs args[1];
|
DoCertArgs args[1];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WOLFSSL_TRUST_PEER_CERT
|
||||||
|
byte haveTrustPeer = 0; /* was cert verified by loaded trusted peer cert */
|
||||||
|
#endif
|
||||||
|
|
||||||
WOLFSSL_ENTER("DoCertificate");
|
WOLFSSL_ENTER("DoCertificate");
|
||||||
|
|
||||||
#ifdef WOLFSSL_ASYNC_CRYPT
|
#ifdef WOLFSSL_ASYNC_CRYPT
|
||||||
|
@ -33,7 +33,10 @@
|
|||||||
/* Opaque keys. Only key pointers are used for arguments */
|
/* Opaque keys. Only key pointers are used for arguments */
|
||||||
typedef struct ecc_key ecc_key;
|
typedef struct ecc_key ecc_key;
|
||||||
typedef struct RsaKey RsaKey;
|
typedef struct RsaKey RsaKey;
|
||||||
typedef struct WC_RNG WC_RNG;
|
#ifndef WC_RNG_TYPE_DEFINED /* guard on redeclaration */
|
||||||
|
typedef struct WC_RNG WC_RNG;
|
||||||
|
#define WC_RNG_TYPE_DEFINED
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Certificate file Type */
|
/* Certificate file Type */
|
||||||
enum CertType {
|
enum CertType {
|
||||||
|
Reference in New Issue
Block a user