diff options
author | Jack Lloyd <[email protected]> | 2015-10-14 18:37:13 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-10-14 18:37:13 -0400 |
commit | 4bfd5d6828f23e0eef04e5cf079c323274136499 (patch) | |
tree | 7b3550bbed9eb3d7c17f1f7a03f7cbad9920baf0 /src/tests | |
parent | c7ceff4a3a3b6b61a02b99db05eef88f7ca4b735 (diff) |
Build fix
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/unit_x509.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp index 2040e4bbf..0d3946012 100644 --- a/src/tests/unit_x509.cpp +++ b/src/tests/unit_x509.cpp @@ -12,6 +12,7 @@ #include <botan/calendar.h> #include <botan/pkcs8.h> +#include <botan/hash.h> #include <botan/pkcs10.h> #include <botan/x509self.h> #include <botan/x509path.h> @@ -49,7 +50,7 @@ u64bit key_id(const Public_Key* key) hash->update(key->algorithm_identifier().parameters); hash->update(key->x509_subject_public_key()); secure_vector<byte> output = hash->final(); - return load_be<u64bit>(output.data()); + return load_be<u64bit>(output.data(), 0); } |