aboutsummaryrefslogtreecommitdiffstats
path: root/src/codec
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-05 16:43:58 +0000
committerlloyd <[email protected]>2012-06-05 16:43:58 +0000
commit4d1378782d83fda342afc3e200f38ef6964ae6e2 (patch)
tree873e7742441cfd3e7701b211429277635811eb90 /src/codec
parentb90c6b3654ff1bff53632f4083ae440d8bd9fd99 (diff)
Modify DL_Group::PEM_decode and BER_decode to take values instead of
DataSource&. Remove spurious DataSource_Memory from ec_group.cpp Some indent fixes
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/pem/pem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codec/pem/pem.h b/src/codec/pem/pem.h
index 6c33c642d..24da1448a 100644
--- a/src/codec/pem/pem.h
+++ b/src/codec/pem/pem.h
@@ -47,14 +47,14 @@ inline std::string encode(const secure_vector<byte>& data,
* @param label is set to the PEM label found for later inspection
*/
BOTAN_DLL secure_vector<byte> decode(DataSource& pem,
- std::string& label);
+ std::string& label);
/**
* Decode PEM data
* @param label is set to the PEM label found for later inspection
*/
BOTAN_DLL secure_vector<byte> decode(const std::string& pem,
- std::string& label);
+ std::string& label);
/**
* Decode PEM data