aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-11 18:13:27 +0000
committerlloyd <[email protected]>2008-10-11 18:13:27 +0000
commitf05253af1f619e6ceec4c8a043ae54debbf17e8e (patch)
tree077146b4edbe158de3cd9b617fbbe32f0523f0fb /src
parent0800f3e720933f026377dabe69628cc1bac15a2d (diff)
Add comment attributing source for ECDSA OID
Diffstat (limited to 'src')
-rw-r--r--src/core/libstate/policy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libstate/policy.cpp b/src/core/libstate/policy.cpp
index 188cf8348..b8e49dd08 100644
--- a/src/core/libstate/policy.cpp
+++ b/src/core/libstate/policy.cpp
@@ -29,13 +29,13 @@ void set_default_oids(Library_State& config)
{
/* Public key types */
add_oid(config, "1.2.840.113549.1.1.1", "RSA");
- add_oid(config, "2.5.8.1.1", "RSA");
+ 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.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");
+ add_oid(config, "1.2.840.10045.2.1", "ECDSA"); // X9.62
/* Ciphers */
add_oid(config, "1.3.14.3.2.7", "DES/CBC");