aboutsummaryrefslogtreecommitdiffstats
path: root/checks/x509.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/x509.cpp')
-rw-r--r--checks/x509.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/checks/x509.cpp b/checks/x509.cpp
index 7fa605411..a544e907b 100644
--- a/checks/x509.cpp
+++ b/checks/x509.cpp
@@ -17,6 +17,8 @@ X509_Cert_Options ca_opts();
X509_Cert_Options req_opts1();
X509_Cert_Options req_opts2();
+namespace {
+
u64bit key_id(const Public_Key* key)
{
std::auto_ptr<X509_Encoder> encoder(key->x509_encoder());
@@ -67,6 +69,8 @@ u32bit check_against_copy(const Private_Key& orig)
return 0;
}
+}
+
void do_x509_tests()
{
RandomNumberGenerator& rng = global_state().prng_reference();