summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrisk%netscape.com <devnull@localhost>2000-06-20 16:31:31 +0000
committerchrisk%netscape.com <devnull@localhost>2000-06-20 16:31:31 +0000
commitf5195db11b44e824da2b0619894d62d9da344738 (patch)
treed384a3fd16054ea6c1eec1dbe083519e4d5db0da
parent865a0f38c06532bb671c67d352459c6dcc07aef9 (diff)
downloadnss-hg-f5195db11b44e824da2b0619894d62d9da344738.tar.gz
Fix OID for DC AVAs - the root OID in RFC2247 is not different from
the root OID in RFC1274 - so the one we had was WRONG. I don't know where it came from.
-rw-r--r--security/nss/lib/util/secoid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/util/secoid.c b/security/nss/lib/util/secoid.c
index 3e6ec55df..567508619 100644
--- a/security/nss/lib/util/secoid.c
+++ b/security/nss/lib/util/secoid.c
@@ -112,7 +112,7 @@
#define ID_CE_OID X500, 0x1d
#define RFC1274_ATTR_TYPE 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x1
-#define RFC2247_ATTR_TYPE 0x09, 0x92, 0x26, 0xf5, 0x98, 0x1e, 0x64, 0x1
+/* #define RFC2247_ATTR_TYPE 0x09, 0x92, 0x26, 0xf5, 0x98, 0x1e, 0x64, 0x1 this is WRONG! */
/* PKCS #12 name spaces */
#define PKCS12_MODE_IDS PKCS12, 0x01
@@ -220,7 +220,7 @@ static unsigned char x500RSAEncryption[] = { X500_ALG_ENCRYPTION, 0x01 };
/* added for alg 1485 */
static unsigned char rfc1274Uid[] = { RFC1274_ATTR_TYPE, 1 };
static unsigned char rfc1274Mail[] = { RFC1274_ATTR_TYPE, 3 };
-static unsigned char rfc2247DomainComponent[] = { RFC2247_ATTR_TYPE, 25 };
+static unsigned char rfc2247DomainComponent[] = { RFC1274_ATTR_TYPE, 25 };
/* Netscape private certificate extensions */
static unsigned char nsCertExtNetscapeOK[] = { NS_CERT_EXT, 1 };