diff options
author | Philipp Weber <[email protected]> | 2016-05-30 12:37:11 +0200 |
---|---|---|
committer | Philipp Weber <[email protected]> | 2016-05-30 12:37:11 +0200 |
commit | 5716a2556a8ff66f6eff7d28659bebdb1e8aedc1 (patch) | |
tree | 7af21b8745763707552fde57beb910fd936a7a17 /src/lib/cert/x509/x509self.cpp | |
parent | b9c1cccda47aec29c7795f3df559caa55adfcb25 (diff) | |
parent | fdfeeca157b36a4d4d4ab47dadba2bb785e17747 (diff) |
Merge remote-tracking branch 'remotes/origin/master' into ecies
Diffstat (limited to 'src/lib/cert/x509/x509self.cpp')
-rw-r--r-- | src/lib/cert/x509/x509self.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/cert/x509/x509self.cpp b/src/lib/cert/x509/x509self.cpp index 7d1c01c37..8b9aeda09 100644 --- a/src/lib/cert/x509/x509self.cpp +++ b/src/lib/cert/x509/x509self.cpp @@ -49,8 +49,6 @@ X509_Certificate create_self_signed_cert(const X509_Cert_Options& opts, X509_DN subject_dn; AlternativeName subject_alt; - opts.sanity_check(); - std::vector<byte> pub_key = X509::BER_encode(key); std::unique_ptr<PK_Signer> signer(choose_sig_format(key, hash_fn, sig_algo)); load_info(opts, subject_dn, subject_alt); @@ -95,8 +93,6 @@ PKCS10_Request create_cert_req(const X509_Cert_Options& opts, X509_DN subject_dn; AlternativeName subject_alt; - opts.sanity_check(); - std::vector<byte> pub_key = X509::BER_encode(key); std::unique_ptr<PK_Signer> signer(choose_sig_format(key, hash_fn, sig_algo)); load_info(opts, subject_dn, subject_alt); |