Generate certificates with unique serial numbers (#645)

This commit is contained in:
Cameron Gutman
2022-12-28 13:03:41 -06:00
committed by GitHub
parent ad20572dde
commit a996902a33
2 changed files with 7 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ using md_ctx_t = util::safe_ptr<EVP_MD_CTX, md_ctx_destroy>;
using bio_t = util::safe_ptr<BIO, BIO_free_all>;
using pkey_t = util::safe_ptr<EVP_PKEY, EVP_PKEY_free>;
using pkey_ctx_t = util::safe_ptr<EVP_PKEY_CTX, EVP_PKEY_CTX_free>;
using bignum_t = util::safe_ptr<BIGNUM, BN_free>;
sha256_t hash(const std::string_view &plaintext);