Add no-op function ENGINE_register_all_complete.

libssh2 expects this function.

Change-Id: Ie2d6ceb25d1b633e1363e82f8a6c187b75a4319f
Reviewed-on: https://boringssl-review.googlesource.com/8735
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
Adam Langley 2016-07-12 10:26:56 -07:00 committed by David Benjamin
parent ea9a0d5313
commit 27516f7c97
2 changed files with 7 additions and 0 deletions

View File

@ -153,6 +153,10 @@ int CRYPTO_malloc_init(void) {
void ENGINE_load_builtin_engines(void) {} void ENGINE_load_builtin_engines(void) {}
int ENGINE_register_all_complete(void) {
return 1;
}
void OPENSSL_load_builtin_modules(void) {} void OPENSSL_load_builtin_modules(void) {}
int FIPS_mode(void) { return 0; } int FIPS_mode(void) { return 0; }

View File

@ -77,6 +77,9 @@ OPENSSL_EXPORT int CRYPTO_malloc_init(void);
/* ENGINE_load_builtin_engines does nothing. */ /* ENGINE_load_builtin_engines does nothing. */
OPENSSL_EXPORT void ENGINE_load_builtin_engines(void); 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_load_builtin_modules does nothing. */
OPENSSL_EXPORT void OPENSSL_load_builtin_modules(void); OPENSSL_EXPORT void OPENSSL_load_builtin_modules(void);