diff options
author | Jack Lloyd <[email protected]> | 2017-02-11 16:09:43 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-02-11 16:09:43 -0500 |
commit | e6008b215b55c0184804828519d3a64bbd4637d4 (patch) | |
tree | 78fee1b3b1f42b21edef4afad51f217811413962 /src/tests/unit_tls.cpp | |
parent | fc3f52703f62d76beda013623f745d5ac3c8cd1c (diff) |
Fix compiling TLS tests without DSA
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r-- | src/tests/unit_tls.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index a5ae3d609..5aeec3572 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -122,6 +122,7 @@ class Credentials_Manager_Test : public Botan::Credentials_Manager chain.push_back(m_ecdsa_ca); break; } +#if defined(BOTAN_HAS_DSA) else if(key_type == "DSA") { if(m_dsa_cert == nullptr || m_dsa_ca == nullptr) @@ -132,6 +133,7 @@ class Credentials_Manager_Test : public Botan::Credentials_Manager chain.push_back(*m_dsa_ca); break; } +#endif } } |