Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crypto/crypto.c4
-rw-r--r--include/openssl/crypto.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/crypto/crypto.c b/crypto/crypto.c
index c9f2bc87..24431267 100644
--- a/crypto/crypto.c
+++ b/crypto/crypto.c
@@ -153,6 +153,10 @@ int CRYPTO_malloc_init(void) {
void ENGINE_load_builtin_engines(void) {}
+int ENGINE_register_all_complete(void) {
+ return 1;
+}
+
void OPENSSL_load_builtin_modules(void) {}
int FIPS_mode(void) { return 0; }
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index 80d71969..3a7e6b1b 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h
@@ -77,6 +77,9 @@ OPENSSL_EXPORT int CRYPTO_malloc_init(void);
/* ENGINE_load_builtin_engines does nothing. */
OPENSSL_EXPORT void ENGINE_load_builtin_engines(void);
+/* ENGINE_register_all_complete returns one. */
+OPENSSL_EXPORT int ENGINE_register_all_complete(void);
+
/* OPENSSL_load_builtin_modules does nothing. */
OPENSSL_EXPORT void OPENSSL_load_builtin_modules(void);