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

freewrt_1_0 freewrt_2_0
Last change on this file since de7e642 was de7e642, checked in by Markus Wigge <markus@…>, 19 years ago
  • added TARGET_CFLAGS
  • added custom selection of features/hashes/ciphers to config
  • reduced size by about half

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

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

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

    diff -urN openssl-0.9.8d.orig/apps/progs.pl openssl-0.9.8d/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        else
    4749                { print $str; }
    4850        }
  • crypto/x509v3/v3_ocsp.c

    diff -urN openssl-0.9.8d.orig/crypto/x509v3/v3_ocsp.c openssl-0.9.8d/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.