aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-04 04:40:40 +0000
committerlloyd <[email protected]>2010-03-04 04:40:40 +0000
commit3af416b82944c2f9241965d6bc47a682938d1bc9 (patch)
treeca02f6d83cbf033eb0fd1cfc443aaddfa2c196d8
parenta8072bab85de5521efb64ad56ac9d1aeba76ec10 (diff)
Fix ElGamal pubkey encoding (OID was unknown)
-rw-r--r--src/libstate/policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate/policy.cpp b/src/libstate/policy.cpp
index c0dc64ec6..d792443a0 100644
--- a/src/libstate/policy.cpp
+++ b/src/libstate/policy.cpp
@@ -34,7 +34,7 @@ void set_default_oids(Library_State& config)
add_oid(config, "2.5.8.1.1", "RSA"); // RSA alternate
add_oid(config, "1.2.840.10040.4.1", "DSA");
add_oid(config, "1.2.840.10046.2.1", "DH");
- add_oid(config, "1.3.6.1.4.1.3029.1.2.1", "ELG");
+ add_oid(config, "1.3.6.1.4.1.3029.1.2.1", "ElGamal");
add_oid(config, "1.3.6.1.4.1.25258.1.1", "RW");
add_oid(config, "1.3.6.1.4.1.25258.1.2", "NR");
add_oid(config, "1.2.840.10045.2.1", "ECDSA"); // X9.62