~ubuntu-branches/ubuntu/oneiric/openvpn/oneiric

« back to all changes in this revision

Viewing changes to crypto.h

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2008-10-07 16:30:44 UTC
  • mfrom: (1.1.11 upstream) (10.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20081007163044-ixx04wg588z1972e
Tags: 2.1~rc11-1ubuntu1
* Merge with Debian (LP: #279655), remaining diffs:
  - debian/openvpn.init.d: Added 'status' action to init script, show
    per-VPN result messages and add "--script-security 2" by default for
    backwards compatibility
  - debian/control: Added lsb-base>=3.2-14 depend to allow status_of_proc()
* Fixes regression when calling commands with arguments (LP: #277447)

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
#if SSLEAY_VERSION_NUMBER < 0x00907000L
71
71
 
72
 
/* Workaround: OpenSSL 0.9.6 breaks extract_x509_field_ssl function */
73
 
#define USE_OLD_EXTRACT_X509_FIELD
74
 
 
75
72
/* Workaround: EVP_CIPHER_mode is defined wrong in OpenSSL 0.9.6 but is fixed in 0.9.7 */
76
73
#undef EVP_CIPHER_mode
77
74
#define EVP_CIPHER_mode(e)                (((e)->flags) & EVP_CIPH_MODE)