components/openssl: add extern C symbol

This commit is contained in:
dongheng
2016-09-23 15:18:14 +08:00
parent 12b72e91af
commit 83aea6c833
15 changed files with 111 additions and 0 deletions

View File

@@ -15,6 +15,10 @@
#ifndef _SSL_H_
#define _SSL_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "platform/ssl_port.h"
#include "internal/ssl_x509.h"
@@ -1684,5 +1688,8 @@ const char *SSL_get_psk_identity_hint(SSL *ssl);
*/
const char *SSL_get_psk_identity(SSL *ssl);
#ifdef __cplusplus
}
#endif
#endif