pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31405: security/ruby-openssl DragonFly fix (openssl 9.8)



>Number:         31405
>Category:       pkg
>Synopsis:       security/ruby-openssl DragonFly fix (openssl 9.8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 27 16:06:00 +0000 2005
>Originator:     Todd Willey
>Release:        
>Organization:
>Environment:
>Description:
API change in openssl >= 0.9.8

reference: 
http://www.mail-archive.com/openssl-dev%openssl.org@localhost/msg19779.html
>How-To-Repeat:

>Fix:
patches/patch-ab:

--- ossl_x509store.c.orig       2004-12-19 08:28:32.000000000 +0000
+++ ossl_x509store.c    2005-09-27 11:47:24.000000000 +0000
@@ -538,7 +538,11 @@

     if(NIL_P(time)) {
        GetX509StCtx(self, store);
+#if OPENSSL_VERSION_NUMBER < 0x00908000L
        store->flags &= ~X509_V_FLAG_USE_CHECK_TIME;
+#else
+       store->param->flags &= ~X509_V_FLAG_USE_CHECK_TIME;
+#endif
     }
     else {
        long t = NUM2LONG(rb_Integer(time));




Home | Main Index | Thread Index | Old Index