From 4d1378782d83fda342afc3e200f38ef6964ae6e2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 5 Jun 2012 16:43:58 +0000 Subject: 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 --- src/codec/pem/pem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/codec/pem') 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& data, * @param label is set to the PEM label found for later inspection */ BOTAN_DLL secure_vector 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 decode(const std::string& pem, - std::string& label); + std::string& label); /** * Decode PEM data -- cgit v1.2.3