diff options
Diffstat (limited to 'src')
-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. |