aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-26 23:02:31 +0000
committerlloyd <[email protected]>2012-05-26 23:02:31 +0000
commitff8414b174b4a05a80fbcea689babedeea4140fb (patch)
treea164a59d2c8256b58666193beb01fa93cd4ec0f2 /src/pubkey
parent6c163bfd61ffa9a2c04efab01a94aced0716dc18 (diff)
No reason to use secure_vector here
Diffstat (limited to 'src/pubkey')
-rw-r--r--src/pubkey/x509_key.cpp2
-rw-r--r--src/pubkey/x509_key.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pubkey/x509_key.cpp b/src/pubkey/x509_key.cpp
index 797ec273c..8080dc993 100644
--- a/src/pubkey/x509_key.cpp
+++ b/src/pubkey/x509_key.cpp
@@ -92,7 +92,7 @@ Public_Key* load_key(const std::string& fsname)
/*
* Extract a public key and return it
*/
-Public_Key* load_key(const secure_vector<byte>& mem)
+Public_Key* load_key(const std::vector<byte>& mem)
{
DataSource_Memory source(mem);
return X509::load_key(source);
diff --git a/src/pubkey/x509_key.h b/src/pubkey/x509_key.h
index fde765715..4fe11a83f 100644
--- a/src/pubkey/x509_key.h
+++ b/src/pubkey/x509_key.h
@@ -58,7 +58,7 @@ BOTAN_DLL Public_Key* load_key(const std::string& filename);
* @param enc the memory region containing the DER or PEM encoded key
* @return new public key object
*/
-BOTAN_DLL Public_Key* load_key(const secure_vector<byte>& enc);
+BOTAN_DLL Public_Key* load_key(const std::vector<byte>& enc);
/**
* Copy a key.