From 894a225d14043cbd0cbd42c677ab4063b461fa24 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 11 Nov 2008 00:00:10 +0000 Subject: Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpp --- src/cert/x509/x509_ca.cpp | 1 - src/cert/x509/x509_ext.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/cert') diff --git a/src/cert/x509/x509_ca.cpp b/src/cert/x509/x509_ca.cpp index 82f854649..2f158e27f 100644 --- a/src/cert/x509/x509_ca.cpp +++ b/src/cert/x509/x509_ca.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cert/x509/x509_ext.cpp b/src/cert/x509/x509_ext.cpp index 3595a0492..54e8be8bd 100644 --- a/src/cert/x509/x509_ext.cpp +++ b/src/cert/x509/x509_ext.cpp @@ -4,9 +4,9 @@ *************************************************/ #include +#include #include #include -#include #include #include #include @@ -303,8 +303,8 @@ void Subject_Key_ID::contents_to(Data_Store& subject, Data_Store&) const *************************************************/ Subject_Key_ID::Subject_Key_ID(const MemoryRegion& pub_key) { - std::auto_ptr hash(get_hash("SHA-1")); - key_id = hash->process(pub_key); + SHA_160 hash; + key_id = hash.process(pub_key); } /************************************************* -- cgit v1.2.3