~ubuntu-branches/ubuntu/raring/postfix/raring

« back to all changes in this revision

Viewing changes to src/tls/tls_dh.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Matt Moen, Wietse Venema, LaMont Jones
  • Date: 2010-06-13 18:30:59 UTC
  • mfrom: (1.1.26 upstream)
  • Revision ID: james.westby@ubuntu.com-20100613183059-ld3hxro9m3pj21q8
[Matt Moen]

* Create ca-certificates.crt for smtp{,d}_enforce_tls case, too. 
  Closes: #575464

[Wietse Venema]

* New upstream release.

[LaMont Jones]

* add freebsd 8 support.  Closes: #570327
* Drop tinycdb build-dep.  Closes: #577997

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
 
206
206
int     tls_set_eecdh_curve(SSL_CTX *server_ctx, const char *grade)
207
207
{
208
 
#if OPENSSL_VERSION_NUMBER >= 0x00909000 && !defined(OPENSSL_NO_ECDH)
 
208
#if OPENSSL_VERSION_NUMBER >= 0x1000000fL && !defined(OPENSSL_NO_ECDH)
209
209
    int     nid;
210
210
    EC_KEY *ecdh;
211
211
    const char *curve;