source: freewrt/package/openssl/patches/999-cfg-opts.patch@ ef25365

freewrt_1_0 freewrt_2_0
Last change on this file since ef25365 was ef25365, checked in by Dirk Nehring <dnehring@…>, 18 years ago

Openssl security update

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3761 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.6 KB
  • openssl-0.9.8h

    diff -Nur openssl-0.9.8h.orig/apps/ocsp.c openssl-0.9.8h/apps/ocsp.c
    old new  
    5555 * Hudson (tjh@cryptsoft.com).
    5656 *
    5757 */
    58 #ifndef OPENSSL_NO_OCSP
    5958#define USE_SOCKETS
    6059#include <stdio.h>
    6160#include <stdlib.h>
     
    6564#include <openssl/ssl.h>
    6665#include <openssl/err.h>
    6766
     67#ifndef OPENSSL_NO_OCSP
     68
    6869/* Maximum leeway in validity period: default 5 minutes */
    6970#define MAX_VALIDITY_PERIOD     (5 * 60)
    7071
  • apps/progs.pl

    diff -Nur openssl-0.9.8h.orig/apps/progs.pl openssl-0.9.8h/apps/progs.pl
    old new  
    4343                { print "#ifndef OPENSSL_NO_DH\n${str}#endif\n"; }
    4444        elsif ( ($_ =~ /^pkcs12$/))
    4545                { print "#if !defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_SHA1)\n${str}#endif\n"; }
     46        elsif ( ($_ =~ /^ocsp$/))
     47                { print "#ifndef OPENSSL_NO_OCSP\n${str}#endif\n"; }
    4648        elsif ( ($_ =~ /^cms$/))
    4749                { print "#ifndef OPENSSL_NO_CMS\n${str}#endif\n"; }
    4850        else
  • crypto/x509v3/v3_ocsp.c

    diff -Nur openssl-0.9.8h.orig/crypto/x509v3/v3_ocsp.c openssl-0.9.8h/crypto/x509v3/v3_ocsp.c
    old new  
    5656 *
    5757 */
    5858
    59 #ifndef OPENSSL_NO_OCSP
    60 
    6159#include <stdio.h>
    6260#include "cryptlib.h"
    6361#include <openssl/conf.h>
     
    6563#include <openssl/ocsp.h>
    6664#include <openssl/x509v3.h>
    6765
     66#ifndef OPENSSL_NO_OCSP
     67
    6868/* OCSP extensions and a couple of CRL entry extensions
    6969 */
    7070
Note: See TracBrowser for help on using the repository browser.