mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +02:00
fix strict C++ compiling linkage
This commit is contained in:
@@ -2078,7 +2078,13 @@ static void IsCa(DecodedCert* cert)
|
|||||||
|
|
||||||
|
|
||||||
/* from SSL proper, for locking can't do find here anymore */
|
/* from SSL proper, for locking can't do find here anymore */
|
||||||
CYASSL_LOCAL Signer* GetCA(Signer* signers, byte* hash);
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
CYASSL_LOCAL Signer* GetCA(Signer* signers, byte* hash);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
int ParseCertRelative(DecodedCert* cert, int type, int verify,
|
int ParseCertRelative(DecodedCert* cert, int type, int verify,
|
||||||
|
@@ -30,8 +30,15 @@
|
|||||||
#include <cyassl/ctaocrypt/error.h>
|
#include <cyassl/ctaocrypt/error.h>
|
||||||
|
|
||||||
|
|
||||||
CYASSL_API int CyaSSL_Debugging_ON(void);
|
#ifdef __cplusplus
|
||||||
CYASSL_API void CyaSSL_Debugging_OFF(void);
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
CYASSL_API int CyaSSL_Debugging_ON(void);
|
||||||
|
CYASSL_API void CyaSSL_Debugging_OFF(void);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef DEBUG_CYASSL
|
#ifdef DEBUG_CYASSL
|
||||||
|
|
||||||
|
@@ -117,8 +117,8 @@ typedef struct tcp_ready {
|
|||||||
} tcp_ready;
|
} tcp_ready;
|
||||||
|
|
||||||
|
|
||||||
void InitTcpReady();
|
void InitTcpReady(tcp_ready*);
|
||||||
void FreeTcpReady();
|
void FreeTcpReady(tcp_ready*);
|
||||||
|
|
||||||
|
|
||||||
typedef struct func_args {
|
typedef struct func_args {
|
||||||
|
Reference in New Issue
Block a user