csr.cpp (ebd21ba4fc36577a70cad207e42d66594b73ed13) | csr.cpp (b3dbfb37a6624153d5c27d87fc07d95e36bef352) |
---|---|
1#include "config.h" 2 3#include "csr.hpp" 4 5#include <openssl/bio.h> 6#include <openssl/buffer.h> 7#include <openssl/ossl_typ.h> 8#include <openssl/pem.h> --- 17 unchanged lines hidden (view full) --- 26using ::phosphor::logging::level; 27using ::phosphor::logging::log; 28using ::sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure; 29namespace fs = std::filesystem; 30 31using X509ReqPtr = std::unique_ptr<X509_REQ, decltype(&::X509_REQ_free)>; 32using BIOPtr = std::unique_ptr<BIO, decltype(&::BIO_free_all)>; 33 | 1#include "config.h" 2 3#include "csr.hpp" 4 5#include <openssl/bio.h> 6#include <openssl/buffer.h> 7#include <openssl/ossl_typ.h> 8#include <openssl/pem.h> --- 17 unchanged lines hidden (view full) --- 26using ::phosphor::logging::level; 27using ::phosphor::logging::log; 28using ::sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure; 29namespace fs = std::filesystem; 30 31using X509ReqPtr = std::unique_ptr<X509_REQ, decltype(&::X509_REQ_free)>; 32using BIOPtr = std::unique_ptr<BIO, decltype(&::BIO_free_all)>; 33 |
34CSR::CSR(sdbusplus::bus::bus& bus, const char* path, std::string&& installPath, | 34CSR::CSR(sdbusplus::bus_t& bus, const char* path, std::string&& installPath, |
35 const Status& status) : 36 internal::CSRInterface(bus, path, 37 internal::CSRInterface::action::defer_emit), 38 objectPath(path), certInstallPath(std::move(installPath)), csrStatus(status) 39{ 40 // Emit deferred signal. 41 this->emit_object_added(); 42} --- 47 unchanged lines hidden --- | 35 const Status& status) : 36 internal::CSRInterface(bus, path, 37 internal::CSRInterface::action::defer_emit), 38 objectPath(path), certInstallPath(std::move(installPath)), csrStatus(status) 39{ 40 // Emit deferred signal. 41 this->emit_object_added(); 42} --- 47 unchanged lines hidden --- |