aboutsummaryrefslogtreecommitdiffstats
path: root/checks/x509.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-12 14:47:25 +0000
committerlloyd <[email protected]>2008-06-12 14:47:25 +0000
commitb730ba19274f5422adb70df6d3328c46af35142f (patch)
tree4eb96b82b4489215587ee4b01ddafff9d9962f14 /checks/x509.cpp
parent1164b265ebecfb2132b07c9492e71881c69b2be4 (diff)
Fix some -Wmissing-declarations warnings
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();