diff options
author | Pauli <paul.dale@oracle.com> | 2020-06-12 08:48:06 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-06-13 09:18:17 +1000 |
commit | ffb6c86663f8d1048b8bac4023c0e41d3ec5891d (patch) | |
tree | 4e8902ba6d051e950c728965226452906d309df5 /include | |
parent | 5ea8afd368498101531c7e628507a17d1e0e122c (diff) |
Guard new header mac.h against C++isms.
[extended tests]
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12121)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/mac.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/openssl/mac.h b/include/openssl/mac.h index 4fb808525f..ecfb2eca27 100644 --- a/include/openssl/mac.h +++ b/include/openssl/mac.h @@ -17,6 +17,10 @@ # include <openssl/types.h> # include <openssl/core.h> +# ifdef __cplusplus +extern "C" { +# endif + EVP_MAC *EVP_MAC_fetch(OPENSSL_CTX *libctx, const char *algorithm, const char *properties); int EVP_MAC_up_ref(EVP_MAC *mac); @@ -49,4 +53,7 @@ void EVP_MAC_names_do_all(const EVP_MAC *mac, void (*fn)(const char *name, void *data), void *data); +# ifdef __cplusplus +} +# endif #endif /* OPENSSL_EVP_MAC_H */ |