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_METHODS_H_
#define _SSL_METHODS_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* TLS method function implement
*/
@@ -110,4 +114,8 @@ const X509_METHOD* X509_method(void);
*/
const PKEY_METHOD* EVP_PKEY_method(void);
#ifdef __cplusplus
}
#endif
#endif