commit | 428cc52a73fc3b6ef934c7e4fe94222c30c3f52d | [log] [tgz] |
---|---|---|
author | Dawid Drozd <dawid.drozd@mobica.com> | Tue Jul 24 10:02:47 2018 +0200 |
committer | Dawid Drozd <dawid.drozd@mobica.com> | Tue Jul 24 10:02:47 2018 +0200 |
tree | fd28f159a71638e71473db974d7696e296e3d067 | |
parent | 7d728bd70e6a8d129ee07813da1538de1bf95cb2 [diff] [blame] |
Allow to forward declare of public structs #1215 Thanks to forward declare we can declare `struct` in our header file instead making #include
diff --git a/include/mbedtls/pkcs11.h b/include/mbedtls/pkcs11.h index bf65c55..02427dd 100644 --- a/include/mbedtls/pkcs11.h +++ b/include/mbedtls/pkcs11.h
@@ -50,7 +50,8 @@ /** * Context for PKCS #11 private keys. */ -typedef struct { +typedef struct mbedtls_pkcs11_context +{ pkcs11h_certificate_t pkcs11h_cert; int len; } mbedtls_pkcs11_context;