mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): store the
result of d2i_X509_NAME into DATA_PTR(self). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c0d2782a0e
commit
cf26f818e4
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Aug 19 17:32:30 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): store the
|
||||
result of d2i_X509_NAME into DATA_PTR(self).
|
||||
|
||||
Tue Aug 19 04:54:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rake.rb (FileUtils#ruby): takes care of space containing path.
|
||||
|
|
|
@ -143,6 +143,7 @@ ossl_x509name_initialize(int argc, VALUE *argv, VALUE self)
|
|||
if(!d2i_X509_NAME(&x, &p, RSTRING_LEN(str)) && (DATA_PTR(self) = x, 1)){
|
||||
ossl_raise(eX509NameError, NULL);
|
||||
}
|
||||
DATA_PTR(self) = x;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue