Commit Graph

18 Commits

Author SHA1 Message Date
web3-bot
00b60808a1
sync: update CI config files (#34) 2022-09-21 18:15:22 +00:00
libp2p-mgmt-read-write[bot]
176c5cdd28
chore: Update .github/workflows/stale.yml [skip ci] 2022-09-19 13:43:21 +00:00
Oleg Jukovec
46d44e1dfd
Fix build with OpenSSL 3.0 (#25)
* Fix build with OpenSSL 3.0

- FIPS_mode_set() does not exist in OpenSSL 3.0 [1]
- X509_check_* functions declarated in openssl/x509v3.h instead of openssl/x509.h [2]
- X509_chack_* functions have const char arg inserad of const unsigned char [2]
- skip MD4 tests if it is unsupported by OpenSSL
- the patch does not change behavior under OpenSSL version != 3
- the patch just fixes build under OpenSSL 3.0 and doesn't update deprecated code
or behavior

1. https://wiki.openssl.org/index.php/OpenSSL_3.0#Upgrading_from_the_OpenSSL_2.0_FIPS_Object_Module
2. https://www.openssl.org/docs/man3.0/man3/X509_check_host.html

* Add Ubuntu 22.04 runner to GitHub Actions go test workflow

* Fix flaky tests on Ubuntu 22.04

It is necessary to handle OpenSSL errors very carefully. Otherwise,
errors may appear in unexpected places. For example, we didn't catch
an error from EVP_DigestInit_ex() and it appears sometimes in conn.go:

func (c *Conn) getErrorHandler(rv C.int, errno error) func() error {
	errcode := C.SSL_get_error(c.ssl, rv) // <- here
2022-08-18 11:29:19 +03:00
Piotr Galar
8ff2bb06d5
Update action.yml 2022-06-06 15:15:38 +02:00
Piotr Galar
831aceee97
Update action.yml 2022-06-06 15:00:14 +02:00
Piotr Galar
7de17e1452
Update action.yml 2022-06-06 14:46:33 +02:00
Piotr Galar
54131cd06f
Update action.yml 2022-06-06 13:50:32 +02:00
web3-bot
de18fa1620 update .github/workflows/go-check.yml 2022-06-01 08:57:20 +00:00
web3-bot
4939bdc0a5 update .github/workflows/go-test.yml 2022-06-01 08:57:20 +00:00
web3-bot
42190170f2 update .github/workflows/automerge.yml 2022-06-01 08:57:20 +00:00
galargh
b84a4bc4e9 add go-test-setup action 2022-01-31 13:12:23 +01:00
galargh
77c1db38da update .github/workflows/go-test.yml 2022-01-31 13:12:13 +01:00
web3-bot
0e129fb7c4 add .github/workflows/tagpush.yml 2021-12-10 11:50:47 +00:00
web3-bot
e7bb135bd6 add .github/workflows/release-check.yml 2021-12-10 11:50:47 +00:00
web3-bot
4ce5b67757 add .github/workflows/releaser.yml 2021-12-10 11:50:47 +00:00
web3-bot
0ce1691392 add .github/workflows/go-check.yml 2021-12-10 11:50:47 +00:00
web3-bot
f0bfe9c369 add .github/workflows/go-test.yml 2021-12-10 11:50:47 +00:00
web3-bot
ed6a5ab6c1 add .github/workflows/automerge.yml 2021-12-10 11:50:47 +00:00