diff options
author | Jack Lloyd <[email protected]> | 2016-03-05 13:01:23 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-03-05 13:01:23 -0500 |
commit | c3540ae668a523c0155677c4ee4c9099910110bc (patch) | |
tree | be4b952913d2684d012f115acdc81d26b36b2873 /src/lib/pubkey/ec_group | |
parent | fbdc39de29a0efbcd13ad169c844189168d2110d (diff) |
Remove explicit from DL_Group, EC_Group constructors taking std::string
I think we maybe want these to be converting constructors, and adding
explicit here breaks code like ECDSA_PrivateKey(rng, "secp256r1")
which seems like a reasonable thing to support IMO
Diffstat (limited to 'src/lib/pubkey/ec_group')
-rw-r--r-- | src/lib/pubkey/ec_group/ec_group.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.h b/src/lib/pubkey/ec_group/ec_group.h index 3f2a389a5..a03b97a68 100644 --- a/src/lib/pubkey/ec_group/ec_group.h +++ b/src/lib/pubkey/ec_group/ec_group.h @@ -67,7 +67,7 @@ class BOTAN_DLL EC_Group * from an OID name (eg "secp256r1", or "1.2.840.10045.3.1.7") * @param pem_or_oid PEM-encoded data, or an OID */ - explicit EC_Group(const std::string& pem_or_oid = ""); + EC_Group(const std::string& pem_or_oid = ""); /** * Create the DER encoding of this domain |