[dovecot/core] e47cfc: lib-dcrypt: Move most of the OpenSSL #if handling ...

GitHub noreply at github.com
Sat Feb 25 21:00:10 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: e47cfc3022ce0cf6e158bb39b83e3a57e7d3130e
      https://github.com/dovecot/core/commit/e47cfc3022ce0cf6e158bb39b83e3a57e7d3130e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-02-25 (Sat, 25 Feb 2017)

  Changed paths:
    M src/lib-dcrypt/dcrypt-openssl.c

  Log Message:
  -----------
  lib-dcrypt: Move most of the OpenSSL #if handling to macros

This avoids #if calls being littered all over the file.

This change can cause HMAC_CTX_free(NULL) to be called, but that seems to
work fine without crashing.


  Commit: 061801f2b390700a18cbefa468a7bab003f4cc8d
      https://github.com/dovecot/core/commit/061801f2b390700a18cbefa468a7bab003f4cc8d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-02-25 (Sat, 25 Feb 2017)

  Changed paths:
    M m4/ssl.m4
    M src/lib-dcrypt/dcrypt-openssl.c

  Log Message:
  -----------
  lib-dcrypt: Replace #if OPENSSL_VERSION_NUMBER with more explicit checks


Compare: https://github.com/dovecot/core/compare/f64f2d4b7612...061801f2b390


More information about the dovecot-cvs mailing list