aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509self.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-08-03 19:21:33 -0400
committerJack Lloyd <[email protected]>2019-08-03 19:32:18 -0400
commit4719685cbf74904e0e4cc205cf09830cff1b04dc (patch)
treebc53f46336a93d2940c63f0c4fbf93f1cad9de21 /src/lib/x509/x509self.cpp
parentda7e97bfcfcd476b28a2ac8cf95d32feecd7dae9 (diff)
Update GOST to use 2012 OIDs/params
Diffstat (limited to 'src/lib/x509/x509self.cpp')
-rw-r--r--src/lib/x509/x509self.cpp1
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;