fix strict C++ compiling linkage
This commit is contained in:
parent
36529ad873
commit
53c7f4d5a9
@ -2078,7 +2078,13 @@ static void IsCa(DecodedCert* cert)
|
||||
|
||||
|
||||
/* 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,
|
||||
|
@ -30,8 +30,15 @@
|
||||
#include <cyassl/ctaocrypt/error.h>
|
||||
|
||||
|
||||
CYASSL_API int CyaSSL_Debugging_ON(void);
|
||||
CYASSL_API void CyaSSL_Debugging_OFF(void);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
CYASSL_API int CyaSSL_Debugging_ON(void);
|
||||
CYASSL_API void CyaSSL_Debugging_OFF(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef DEBUG_CYASSL
|
||||
|
||||
|
@ -117,8 +117,8 @@ typedef struct tcp_ready {
|
||||
} tcp_ready;
|
||||
|
||||
|
||||
void InitTcpReady();
|
||||
void FreeTcpReady();
|
||||
void InitTcpReady(tcp_ready*);
|
||||
void FreeTcpReady(tcp_ready*);
|
||||
|
||||
|
||||
typedef struct func_args {
|
||||
|
Loading…
x
Reference in New Issue
Block a user