patch-imap_tls_c 489 B

1234567891011121314
  1. $OpenBSD: patch-imap_tls_c,v 1.2 2017/05/28 15:46:11 ajacoutot Exp $
  2. Index: imap/tls.c
  3. --- imap/tls.c.orig
  4. +++ imap/tls.c
  5. @@ -227,7 +227,7 @@ static RSA *tmp_rsa_cb(SSL * s __attribute__((unused))
  6. }
  7. #endif
  8. -#if OPENSSL_VERSION_NUMBER < 0x10100000L
  9. +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
  10. /* replacements for new 1.1 API accessors */
  11. /* XXX probably put these somewhere central */
  12. static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)