summaryrefslogtreecommitdiffstats
path: root/ossl_x509name.c
diff options
context:
space:
mode:
authorGOTOU Yuuzou <gotoyuzo@notwork.org>2003-07-03 03:43:03 +0000
committerGOTOU Yuuzou <gotoyuzo@notwork.org>2003-07-03 03:43:03 +0000
commit786035d043400f2b466ca5e22ecfac7efce0185f (patch)
treea692bfeba5ab5466433fffcfa315e9e4b993ed49 /ossl_x509name.c
parent6b03f996b6b6bd576201406864daaed97fe3b0e9 (diff)
downloadruby-openssl-history-786035d043400f2b466ca5e22ecfac7efce0185f.tar.gz
* ossl_ocsp.c: OCSP::Respopnse#basic returns nil if no OCSP_BASICRESP given.
* ossl_x509name.c: X509::Name#eql?: should check type of other. * ossl_x509crl.[ch]: add ossl_x509crl_new(); * ossl_x509store.c: - add X509::StoreContext#current_crl - del X509::StoreContext#add_crl_file (use #add_file instead.) * lib/net/https.rb: fix attrs. * examples/ossl_x509store.rb: revised.
Diffstat (limited to 'ossl_x509name.c')
-rw-r--r--ossl_x509name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ossl_x509name.c b/ossl_x509name.c
index c329039..deb68b5 100644
--- a/ossl_x509name.c
+++ b/ossl_x509name.c
@@ -212,6 +212,7 @@ ossl_x509name_eql(VALUE self, VALUE other)
{
int result;
+ if(TYPE(other) != cX509Name) return Qfalse;
result = ossl_x509name_cmp0(self, other);
return (result == 0) ? Qtrue : Qfalse;