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 | 5af0a758d4454587f7d5ed4ff4cf610968642837 (patch) | |
tree | 3af4f655aab6e1e74d692df58189ca370c8c478b /ext/openssl/ossl.h | |
parent | b0ccb799ec0a0893699470dadda7715fe1afcc35 (diff) | |
download | ruby-5af0a758d4454587f7d5ed4ff4cf610968642837.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl.h')
-rw-r--r-- | ext/openssl/ossl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index bb9bd2a497..c320991b44 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -201,6 +201,7 @@ void ossl_debug(const char *, ...); #include "ossl_version.h" #include "ossl_x509.h" #include "ossl_engine.h" +#include "ossl_asn1.h" void Init_openssl(void); |