mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 08:26:02 +08:00
Update to FreeBSD head 2018-10-23
Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b. This commit updates OpenSSL to version 1.1.1. This required an update of racoon which uses some internal stuff from OpenSSL and seems to be mostly unmaintained, e.g. there is update in the FreeBSD ports to cope with OpenSSL 1.1.1. Update #3472.
This commit is contained in:
@@ -505,9 +505,19 @@ nss_load_module(const char *source, nss_module_register_fn reg_fn)
|
||||
*/
|
||||
mod.handle = nss_builtin_handle;
|
||||
fn = reg_fn;
|
||||
} else if (!is_dynamic())
|
||||
} else if (!is_dynamic()) {
|
||||
goto fin;
|
||||
else {
|
||||
} else if (strcmp(source, NSSRC_CACHE) == 0 ||
|
||||
strcmp(source, NSSRC_COMPAT) == 0 ||
|
||||
strcmp(source, NSSRC_DB) == 0 ||
|
||||
strcmp(source, NSSRC_DNS) == 0 ||
|
||||
strcmp(source, NSSRC_FILES) == 0 ||
|
||||
strcmp(source, NSSRC_NIS) == 0) {
|
||||
/*
|
||||
* Avoid calling dlopen(3) for built-in modules.
|
||||
*/
|
||||
goto fin;
|
||||
} else {
|
||||
if (snprintf(buf, sizeof(buf), "nss_%s.so.%d", mod.name,
|
||||
NSS_MODULE_INTERFACE_VERSION) >= (int)sizeof(buf))
|
||||
goto fin;
|
||||
|
Reference in New Issue
Block a user