diff options
Diffstat (limited to 'src/scripts/oids.py')
-rwxr-xr-x | src/scripts/oids.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/scripts/oids.py b/src/scripts/oids.py index e3c232211..8d5cd6d8f 100755 --- a/src/scripts/oids.py +++ b/src/scripts/oids.py @@ -94,12 +94,22 @@ std::string lookup(const OID& oid) { const std::string oid_str = oid.as_string(); %s + +#if defined(BOTAN_HOUSE_ECC_CURVE_NAME) + if(oid_str == BOTAN_HOUSE_ECC_CURVE_OID) return BOTAN_HOUSE_ECC_CURVE_NAME; +#endif + return std::string(); } OID lookup(const std::string& name) { %s + +#if defined(BOTAN_HOUSE_ECC_CURVE_NAME) + if(name == BOTAN_HOUSE_ECC_CURVE_NAME) return OID(BOTAN_HOUSE_ECC_CURVE_OID); +#endif + return OID(); } |