diff options
author | lloyd <[email protected]> | 2012-05-26 23:02:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-05-26 23:02:31 +0000 |
commit | ff8414b174b4a05a80fbcea689babedeea4140fb (patch) | |
tree | a164a59d2c8256b58666193beb01fa93cd4ec0f2 /src/pubkey | |
parent | 6c163bfd61ffa9a2c04efab01a94aced0716dc18 (diff) |
No reason to use secure_vector here
Diffstat (limited to 'src/pubkey')
-rw-r--r-- | src/pubkey/x509_key.cpp | 2 | ||||
-rw-r--r-- | src/pubkey/x509_key.h | 2 |
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. |