svn commit: r359807 - head/sbin/decryptcore
Mariusz Zaborski
oshogbo at FreeBSD.org
Sat Apr 11 17:30:34 UTC 2020
Author: oshogbo
Date: Sat Apr 11 17:30:33 2020
New Revision: 359807
URL: https://svnweb.freebsd.org/changeset/base/359807
Log:
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
Modified:
head/sbin/decryptcore/decryptcore.c
Modified: head/sbin/decryptcore/decryptcore.c
==============================================================================
--- head/sbin/decryptcore/decryptcore.c Sat Apr 11 15:52:07 2020 (r359806)
+++ head/sbin/decryptcore/decryptcore.c Sat Apr 11 17:30:33 2020 (r359807)
@@ -170,6 +170,7 @@ decrypt(int ofd, const char *privkeyfile, const char *
goto failed;
}
+ caph_cache_catpages();
if (caph_enter() < 0) {
pjdlog_errno(LOG_ERR, "Unable to enter capability mode");
goto failed;
More information about the svn-src-all
mailing list