Loading ccsrc/Protocols/Security/certificates_loader.cc +1 −0 Original line number Diff line number Diff line Loading @@ -463,6 +463,7 @@ int certificates_loader::save_certificate(const security_db_record& p_certificat } loggers::get_instance().log("certificates_loader::save_certificate: Private key file: '%s'", p.string().c_str()); os.open(p.string(), ios::out | ios::binary); loggers::get_instance().log_msg("certificates_loader::save_certificate: Private key content: ", p_certificate.private_key()); os.write((char *)static_cast<const unsigned char*>(p_certificate.private_key()), p_certificate.private_key().lengthof()); os.close(); std::experimental::filesystem::permissions(p, std::experimental::filesystem::perms::add_perms | std::experimental::filesystem::perms::owner_all | std::experimental::filesystem::perms::group_all | std::experimental::filesystem::perms::others_all); Loading ccsrc/Protocols/Security/security_cache.cc +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ int security_cache::get_public_enc_comp_key(const std::string& p_certificate_id, } bool security_cache::fill_vector(OCTETSTRING& p_vector, const OCTETSTRING& p_org) { if (p_vector.is_bound()) { if (p_org.is_bound()) { p_vector = p_org; return true; } Loading ttcn/TestCodec/TestCodec_SignedAndEncryptedMessages.ttcn +1 −1 File changed.Contains only whitespace changes. Show changes Loading
ccsrc/Protocols/Security/certificates_loader.cc +1 −0 Original line number Diff line number Diff line Loading @@ -463,6 +463,7 @@ int certificates_loader::save_certificate(const security_db_record& p_certificat } loggers::get_instance().log("certificates_loader::save_certificate: Private key file: '%s'", p.string().c_str()); os.open(p.string(), ios::out | ios::binary); loggers::get_instance().log_msg("certificates_loader::save_certificate: Private key content: ", p_certificate.private_key()); os.write((char *)static_cast<const unsigned char*>(p_certificate.private_key()), p_certificate.private_key().lengthof()); os.close(); std::experimental::filesystem::permissions(p, std::experimental::filesystem::perms::add_perms | std::experimental::filesystem::perms::owner_all | std::experimental::filesystem::perms::group_all | std::experimental::filesystem::perms::others_all); Loading
ccsrc/Protocols/Security/security_cache.cc +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ int security_cache::get_public_enc_comp_key(const std::string& p_certificate_id, } bool security_cache::fill_vector(OCTETSTRING& p_vector, const OCTETSTRING& p_org) { if (p_vector.is_bound()) { if (p_org.is_bound()) { p_vector = p_org; return true; } Loading
ttcn/TestCodec/TestCodec_SignedAndEncryptedMessages.ttcn +1 −1 File changed.Contains only whitespace changes. Show changes