mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
looking good
This commit is contained in:
parent
f568e7cca5
commit
c194dfa3c3
@ -71,7 +71,6 @@ class p3dcert(package):
|
||||
cvar = ConfigVariableFilename('ca-bundle-filename')
|
||||
filename = Filename(cvar.getValue())
|
||||
if not filename.empty():
|
||||
print filename
|
||||
file(filename, newName = 'ca-bundle.crt', extract = True)
|
||||
|
||||
|
||||
|
@ -265,7 +265,7 @@ wt_thread_run() {
|
||||
nout << "p3dcert process has successfully stopped.\n";
|
||||
#else
|
||||
int status;
|
||||
pid_t result = waitpid(_p3dcert_pid, &status, WNOHANG);
|
||||
pid_t result = waitpid(_p3dcert_pid, &status, 0);
|
||||
if (result == -1) {
|
||||
perror("waitpid");
|
||||
}
|
||||
|
@ -1034,10 +1034,8 @@ check_p3d_signature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Temporary hack: disabling further security checks until this code
|
||||
// is complete.
|
||||
return true;
|
||||
|
||||
// See if we've previously approved the certificate--any
|
||||
// certificate--that's signing this p3d file.
|
||||
int num_signatures = _mf_reader.get_num_signatures();
|
||||
for (int i = 0; i < num_signatures; ++i) {
|
||||
const P3DMultifileReader::CertChain &chain = _mf_reader.get_signature(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user