diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-03 08:58:01 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-03 08:58:01 +0000 |
| commit | e8d62a7ce5a87039f1301e14b36cabc52cd72fa9 (patch) | |
| tree | 3af4f655aab6e1e74d692df58189ca370c8c478b /ext/openssl/ossl.c | |
| parent | ee5fb5f5b6428a60282f5a7ec03447ee0c25f98a (diff) | |
| download | ruby-e8d62a7ce5a87039f1301e14b36cabc52cd72fa9.tar.gz ruby-e8d62a7ce5a87039f1301e14b36cabc52cd72fa9.tar.xz ruby-e8d62a7ce5a87039f1301e14b36cabc52cd72fa9.zip | |
* ext/openssl/ossl_asn1.c: add DER encoder and decoder.
* ext/openssl/ossl_asn1.h: add OpenSSL::ASN1 module.
* ext/openssl/ossl.c (Init_openssl): call Init_ossl_asn1.
* ext/openssl/ossl.h: include ossl_asn1.h.
* ext/openssl/extconf.rb: check if X509_ATTRIBUTE has field "single".
* ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): accept
DER encoded data argument.
* ext/openssl/ossl_x509attr.c (ossl_x509attr_get_value): return
DER encoded data in OpenSSL::ASN1 types.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl.c')
| -rw-r--r-- | ext/openssl/ossl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index cc12a8fda..581da783e 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -434,6 +434,7 @@ Init_openssl() Init_ossl_x509(); Init_ossl_ocsp(); Init_ossl_engine(); + Init_ossl_asn1(); } #if defined(OSSL_DEBUG) |
