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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to