aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-11-14 09:04:48 -0500
committerJack Lloyd <[email protected]>2017-11-14 09:04:48 -0500
commitbf591b86c92b08b2773a252aa27008435cd8609e (patch)
tree805f5d475c295bbb1627a709990ba55786fae2f4 /src/lib
parent6979a93a7917dd1f47928921d1afd65075dad076 (diff)
Compile fix
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/x509/x509_ca.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/x509/x509_ca.cpp b/src/lib/x509/x509_ca.cpp
index 932fdb57c..81536c768 100644
--- a/src/lib/x509/x509_ca.cpp
+++ b/src/lib/x509/x509_ca.cpp
@@ -25,9 +25,9 @@ namespace Botan {
X509_CA::X509_CA(const X509_Certificate& c,
const Private_Key& key,
const std::string& hash_fn,
- RandomNumberGenerator& rng) : m_cert(c)
+ RandomNumberGenerator& rng) : m_ca_cert(c)
{
- if(!m_cert.is_CA_cert())
+ if(!m_ca_cert.is_CA_cert())
throw Invalid_Argument("X509_CA: This certificate is not for a CA");
m_signer.reset(choose_sig_format(key, rng, hash_fn, m_ca_sig_algo));