summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_x509name.c
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-12 05:38:20 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-12 05:38:20 +0000
commita472b97810d6ef78b7ba5a500a031667559651c8 (patch)
tree50f465b45c83314fac9f63ec8470746f5958e488 /ext/openssl/ossl_x509name.c
parentd1dc51319f76a3b6ac32a2fd17da11cbf790ba6d (diff)
* ext/openssl/ossl_x509name.c: attribute value of DC (short name of
domainComponent) should be IA5String. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_x509name.c')
-rw-r--r--ext/openssl/ossl_x509name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl_x509name.c b/ext/openssl/ossl_x509name.c
index 61a630f..ee414b6 100644
--- a/ext/openssl/ossl_x509name.c
+++ b/ext/openssl/ossl_x509name.c
@@ -304,6 +304,7 @@ Init_ossl_x509name()
rb_hash_aset(hash, rb_str_new2("countryName"), ptrstr);
rb_hash_aset(hash, rb_str_new2("serialNumber"), ptrstr);
rb_hash_aset(hash, rb_str_new2("dnQualifier"), ptrstr);
+ rb_hash_aset(hash, rb_str_new2("DC"), ia5str);
rb_hash_aset(hash, rb_str_new2("domainComponent"), ia5str);
rb_hash_aset(hash, rb_str_new2("emailAddress"), ia5str);
rb_define_const(cX509Name, "OBJECT_TYPE_TEMPLATE", hash);