diff options
author | lloyd <[email protected]> | 2012-06-05 16:43:58 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-06-05 16:43:58 +0000 |
commit | 4d1378782d83fda342afc3e200f38ef6964ae6e2 (patch) | |
tree | 873e7742441cfd3e7701b211429277635811eb90 /src/pubkey/ec_group | |
parent | b90c6b3654ff1bff53632f4083ae440d8bd9fd99 (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/pubkey/ec_group')
-rw-r--r-- | src/pubkey/ec_group/ec_group.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pubkey/ec_group/ec_group.cpp b/src/pubkey/ec_group/ec_group.cpp index 88c4616a4..9620122de 100644 --- a/src/pubkey/ec_group/ec_group.cpp +++ b/src/pubkey/ec_group/ec_group.cpp @@ -35,10 +35,8 @@ EC_Group::EC_Group(const std::string& str) try { - DataSource_Memory input(str); - std::vector<byte> ber = - unlock(PEM_Code::decode_check_label(input, "EC PARAMETERS")); + unlock(PEM_Code::decode_check_label(str, "EC PARAMETERS")); *this = EC_Group(ber); } |