1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-06 03:50:08 +02:00
deltachat-core/libs
Lars-Magnus Skog 9c7d1bb112
Neppgp ssl mac (#347)
* Do not set HAVE_*_H defines for disabled features

It seems the mac build fails if we set the defines like this so
let's try avoiding including the header file alltogether.  I didn't
expect ssl to look at that define but there you go.

Maybe fixes #337

* Try to silence a few more warnings

Spotted on mac:
435493605

* Do not set HAVE_*_H defines for disabled features

It seems the mac build fails if we set the defines like this so
let's try avoiding including the header file alltogether.  I didn't
expect ssl to look at that define but there you go.

Maybe fixes #337

* Try to silence a few more warnings

Spotted on mac:
435493605

* booleans, how do they work
2018-10-06 17:41:54 +02:00
..
cyrussasl Neppgp ssl mac (#347) 2018-10-06 17:41:54 +02:00
libetpan Neppgp ssl mac (#347) 2018-10-06 17:41:54 +02:00
libiconv add cyrussasl, iconv, openssl to libs for optional usage (if system does not provide) 2018-08-17 16:06:47 +02:00
netpgp Neppgp ssl mac (#347) 2018-10-06 17:41:54 +02:00
openssl Tweak buildscripts a little 2018-09-18 23:33:34 +02:00
sqlite Build all the bundled libraries when appropriate 2018-09-18 12:07:19 +02:00
README.md comment 2018-08-31 14:02:21 +02:00
update-libetpan.sh comment 2018-08-14 23:32:06 +02:00
update-openssl.sh start a script that can update openssl 2018-08-31 16:50:33 +02:00
zlib.wrap Build all the bundled libraries when appropriate 2018-09-18 12:07:19 +02:00

This directory contains some libraries needed by the Delta Chat core library.

While it is also possible, to use the corresponding system libraries, it may be easier on some OS to use the source from here which compiles fine under "normal" circumstances.

Moreover, using the libraries from this directory may make fixing errors easier (as we use the same code under different Delta Chat implementations). The disadvantage to the system libraries may be that the system may react faster on security fixes than Delta Chat - I think this is true only for Linux. For the same reason, packages using non-sytem libraries may be rejected from some Linux repositories.

Moreover, we've fixed some bugs here and there; these lines are marked by EDIT BY MR then (as soon as we find the time, we should check if such changes could form a pull request to the used library).

OpenSSL

  • OpenSSL was take from Telegram-FOSS-master-3.10.1(821) and has the version 1.0.1t
  • removed the following configuration options: OPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAST as Camellia as well as CAST is needed in PGP