pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/31405: security/ruby-openssl DragonFly fix (openssl 9.8)
The following reply was made to PR pkg/31405; it has been noted by GNATS.
From: Takahiro Kambe <taca%back-street.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/31405: security/ruby-openssl DragonFly fix (openssl 9.8)
Date: Wed, 28 Sep 2005 13:29:42 +0900 (JST)
In message <20050927160600.E8B5D63B885%narn.netbsd.org@localhost>
on Tue, 27 Sep 2005 16:06:00 +0000 (UTC),
xtoddx%gmail.com@localhost wrote:
> >Description:
> API change in openssl >= 0.9.8
Would you please test this patch?
--
Takahiro Kambe <taca%back-street.net@localhost>
--- ext/openssl/ossl_x509store.c.orig 2004-12-19 17:28:32.000000000 +0900
+++ ext/openssl/ossl_x509store.c
@@ -535,17 +535,11 @@ static VALUE
ossl_x509stctx_set_time(VALUE self, VALUE time)
{
X509_STORE_CTX *store;
+ long t;
- if(NIL_P(time)) {
- GetX509StCtx(self, store);
- store->flags &= ~X509_V_FLAG_USE_CHECK_TIME;
- }
- else {
- long t = NUM2LONG(rb_Integer(time));
-
- GetX509StCtx(self, store);
- X509_STORE_CTX_set_time(store, 0, t);
- }
+ t = NUM2LONG(rb_Integer(time));
+ GetX509StCtx(self, store);
+ X509_STORE_CTX_set_time(store, 0, t);
return time;
}
Home |
Main Index |
Thread Index |
Old Index