[openssl] openssl-3.0 update

Dr. Paul Dale pauli at openssl.org
Sun Jan 23 22:42:22 UTC 2022


The branch openssl-3.0 has been updated
       via  9d0a228ae2c2af274995566ae79f3b07c2937069 (commit)
      from  a28dbfe7c84b6a43746d0e2ef4153e2a13067c4a (commit)


- Log -----------------------------------------------------------------
commit 9d0a228ae2c2af274995566ae79f3b07c2937069
Author: Pauli <pauli at openssl.org>
Date:   Fri Jan 21 17:09:46 2022 +1100

    self_test.h: fix the C++ wrapping
    
    Fixes #17557
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/17562)
    
    (cherry picked from commit 1bfd20f08c042072cae44a9eb81626cbfff81116)

-----------------------------------------------------------------------

Summary of changes:
 include/openssl/self_test.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/openssl/self_test.h b/include/openssl/self_test.h
index 77c600a0d1..6d6c96abf8 100644
--- a/include/openssl/self_test.h
+++ b/include/openssl/self_test.h
@@ -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,
@@ -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 */


More information about the openssl-commits mailing list