Skip to content

Commit

Permalink
self_test.h: fix the C++ wrapping
Browse files Browse the repository at this point in the history
Fixes #17557

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #17562)

(cherry picked from commit 1bfd20f)
  • Loading branch information
paulidale committed Jan 23, 2022
1 parent a28dbfe commit 9d0a228
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/openssl/self_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ extern "C" {
# define OSSL_SELF_TEST_DESC_KDF_TLS13_EXPAND "TLS13_KDF_EXPAND"
# define OSSL_SELF_TEST_DESC_RNG "RNG"

# ifdef __cplusplus
}
# endif

void OSSL_SELF_TEST_set_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK *cb,
void *cbarg);
void OSSL_SELF_TEST_get_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK **cb,
Expand All @@ -90,4 +86,7 @@ void OSSL_SELF_TEST_onbegin(OSSL_SELF_TEST *st, const char *type,
int OSSL_SELF_TEST_oncorrupt_byte(OSSL_SELF_TEST *st, unsigned char *bytes);
void OSSL_SELF_TEST_onend(OSSL_SELF_TEST *st, int ret);

# ifdef __cplusplus
}
# endif
#endif /* OPENSSL_SELF_TEST_H */

0 comments on commit 9d0a228

Please sign in to comment.