diff options
author | Jack Lloyd <[email protected]> | 2019-08-03 19:21:33 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-08-03 19:32:18 -0400 |
commit | 4719685cbf74904e0e4cc205cf09830cff1b04dc (patch) | |
tree | bc53f46336a93d2940c63f0c4fbf93f1cad9de21 /src/lib/x509/x509self.cpp | |
parent | da7e97bfcfcd476b28a2ac8cf95d32feecd7dae9 (diff) |
Update GOST to use 2012 OIDs/params
Diffstat (limited to 'src/lib/x509/x509self.cpp')
-rw-r--r-- | src/lib/x509/x509self.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/x509/x509self.cpp b/src/lib/x509/x509self.cpp index 0c5e85491..d84544eff 100644 --- a/src/lib/x509/x509self.cpp +++ b/src/lib/x509/x509self.cpp @@ -62,6 +62,7 @@ X509_Certificate create_self_signed_cert(const X509_Cert_Options& opts, const std::vector<uint8_t> pub_key = X509::BER_encode(key); std::unique_ptr<PK_Signer> signer(choose_sig_format(key, sig_opts, rng, hash_fn, sig_algo)); + BOTAN_ASSERT_NOMSG(sig_algo.get_oid().has_value()); load_info(opts, subject_dn, subject_alt); Extensions extensions = opts.extensions; |