From a07811f5b9a49dcfc911f3db870d38c3d1b8a2da Mon Sep 17 00:00:00 2001 From: oshogbo Date: Sat, 11 Apr 2020 17:30:33 +0000 Subject: [PATCH] decryptcore: load the nls data Load the nls data before the openssl will try to do it in the capability mode. On my machine the sa_ossl_private_decrypt is trying to do that. MFC after: 2 weeks --- sbin/decryptcore/decryptcore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/decryptcore/decryptcore.c b/sbin/decryptcore/decryptcore.c index 6a6c362011f..7fbe237487c 100644 --- a/sbin/decryptcore/decryptcore.c +++ b/sbin/decryptcore/decryptcore.c @@ -170,6 +170,7 @@ decrypt(int ofd, const char *privkeyfile, const char *keyfile, goto failed; } + caph_cache_catpages(); if (caph_enter() < 0) { pjdlog_errno(LOG_ERR, "Unable to enter capability mode"); goto failed; -- 2.45.0