diff options
Diffstat (limited to 'tool/pkcs12.cc')
-rw-r--r-- | tool/pkcs12.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/pkcs12.cc b/tool/pkcs12.cc index 3d8a1cd..c19fd3a 100644 --- a/tool/pkcs12.cc +++ b/tool/pkcs12.cc @@ -72,7 +72,7 @@ bool DoPKCS12(const std::vector<std::string> &args) { } const size_t size = st.st_size; - std::unique_ptr<uint8_t[]> contents(new uint8_t[size]); + auto contents = std::make_unique<uint8_t[]>(size); size_t off = 0; while (off < size) { size_t bytes_read; |