Commit Graph

10 Commits

Author SHA1 Message Date
Simon Chopin
bbd60a96ec fish: enable the legacy provider if build against OpenSSL3
OpenSSL 3.0 disables a number of "legacy" algorithms by default, and we
need to enable them manually using their provider system. Note that
explicitly loading a provider will disable the implicit default
provider, which is why we need to load it explicitly.

Closes #2629

Signed-off-by: Simon Chopin <simon.chopin@canonical.com>

V2:
  * use a local OSSL_LIB_CTX to avoid leaking the legacy algorithms
    into the main SSL context.
  * Simplify the fish_init() error paths by calling fish_deinit()
2021-11-30 08:35:04 -06:00
Patrick Griffis
f93b13a6a3 Add missing string.h includes
Closes #2652
2021-11-11 10:24:39 -06:00
Patrick Griffis
4f3ef3505a fishlim: Minor test improvements
- Don't have tests repeat themselves, meson has a `--repeat` flag
- Fix a minor leak of a GRand
- Speed up a test
- Increase timeout

This still needs a lot of improvements, it runs at lot of loops within
loops generating random strings that could be optimized. This means
it can take a very long time on some computers.

Closes #2629
2021-11-03 09:59:24 -05:00
Patrick Griffis
fee86de499 fish: Misc test cleanups 2021-07-15 20:59:19 -05:00
BakasuraRCE
078af20e8b fishlim: Implement correct handling of long and UTF-8 messages 2020-10-16 23:19:10 +02:00
BakasuraRCE
bd3f3fa5f7 fishlim: Remove needless header 2020-10-16 23:19:10 +02:00
BakasuraRCE
df818ad7d9 fishlim: Remove compiler warnings 2020-10-16 23:19:10 +02:00
BakasuraRCE
c7844c775a fishlim: Remove needless functions for tests 2020-10-16 23:19:10 +02:00
BakasuraRCE
4758d3705d fishlim: Fix result 2020-10-16 23:19:10 +02:00
Bakasura
c5a798beec
FiSHLiM: Support for CBC mode + more commands (#2347) 2020-07-13 16:27:27 -07:00