mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 15:35:34 +00:00
Added C++ style extern in x509write header file
This commit is contained in:
parent
a565aceea1
commit
34b225f0ee
|
@ -29,6 +29,10 @@
|
|||
|
||||
#include "rsa.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _x509_req_name
|
||||
{
|
||||
char oid[128];
|
||||
|
@ -43,4 +47,8 @@ int x509_write_key_der( unsigned char *buf, size_t size, rsa_context *rsa );
|
|||
int x509_write_cert_req( unsigned char *buf, size_t size, rsa_context *rsa,
|
||||
x509_req_name *req_name, int hash_id );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* POLARSSL_X509_WRITE_H */
|
||||
|
|
Loading…
Reference in a new issue