Commit Graph

1294 Commits

Author SHA1 Message Date
Sebastian Blunt
fe903fb7c5 Fix unreachable nc portability shim
This fixes nc failing to run on darwin due to it incorrectly setting the
linux-specific SOCK_NONBLOCK flag on connect.

nc already had a portability shim in apps/nc/compat/sys/socket.h, which
kicks in if SOCK_NONBLOCK is undefined. But that header includes
include/compat/sys/socket.h, which also has a portability shim that
defines a default value for SOCK_NONBLOCK if it's undefined. Thus the
first portability shim was unreachable.

Fixes this by moving the NEED_SOCKET_FLAGS flag into the outer shim, and
having the inner shim activate if NEED_SOCKET_FLAGS is defined.

This closes https://github.com/libressl-portable/portable/issues/631
2022-04-15 23:59:33 -07:00
kinichiro
b2c59887a2 Add regress objectstest 2022-04-10 12:13:31 +09:00
Brent Cook
b52dc3d9b2 add evp_pkey_cleanup test 2022-04-04 01:09:27 -05:00
Ilya Shipitsin
e5263d7163 CI: switch ASAN builds to clang 2022-03-26 21:48:14 +05:00
kinichiro
e19aafe22a Copy ARM related files from arch/arm/ 2022-03-25 11:37:50 +09:00
Brent Cook
8ad1ac4bf1 Add ASan status badge 2022-03-21 07:33:54 -05:00
Brent Cook
d7bf245b0c update patch 2022-03-21 05:27:12 -05:00
Brent Cook
f6deadbec9 add vwarnx 2022-03-16 04:21:52 -05:00
Brent Cook
15d1f01e0f add bn_mod_sqrt 2022-03-15 16:11:05 -05:00
Brent Cook
a32554c65c remove local patch now upstream 2022-03-15 15:23:27 -05:00
Brent Cook
c7fb4df082 update Changelog 2022-03-13 12:16:55 -05:00
Brent Cook
101a9d69f1 add new tests 2022-03-13 12:04:04 -05:00
Brent Cook
58e82f95ce Land #737, update autotool deprecations 2022-03-13 11:39:05 -05:00
Brent Cook
74e92e5ecf add infinite loop fix in BN_mod_sqrt 2022-03-12 11:26:23 -06:00
Brent Cook
56bf8d4f41 update autotool macro deprecations
fix latest round of autotool complaints
2022-02-27 06:05:41 -06:00
Brent Cook
2336a535c6 update man links 2022-02-27 05:40:13 -06:00
Brent Cook
115cf2d553 rebase patches 2022-02-27 05:37:43 -06:00
Brent Cook
2f43da43c1 Land #732, CI: enable ASAN on linux 2022-02-27 05:18:58 -06:00
Ilya Shipitsin
6b06bed084 install missing dependencies for AppVeyor 2022-02-23 10:09:03 +05:00
kinichiro
2e9a7653b7 Update changelog 2022-02-18 23:47:45 +09:00
kinichiro
75388d4d2b Add portable improvements to changelog 2022-02-18 20:49:17 +09:00
Theo Buehler
f026757d12 Don't mention tls_signer yet. It's not ready yet. 2022-02-17 21:39:54 +01:00
Theo Buehler
314555aa93 LibreSSL 3.5.0 initial changelog 2022-02-13 20:57:51 +01:00
Ilya Shipitsin
2a4b84081f CI: enable ASAN on Linux 2022-02-12 09:55:39 +05:00
Brent Cook
a27642bf41 rebase patches 2022-02-06 21:11:52 -06:00
kinichiro
e70d8cba5c Add regress rfc3779 2022-02-02 19:18:22 +09:00
kinichiro
298b1e5834 Add regress evp_pkey_check 2022-01-31 19:28:39 +09:00
kinichiro
3412032b52 Add tls/tls_signer.c 2022-01-26 21:24:18 +09:00
Brent Cook
0a6a5119fd update man links 2022-01-18 04:57:50 -06:00
kinichiro
9a18f4247e Add libmd as platform specific libraries for Solaris 2022-01-17 19:04:23 +09:00
kinichiro
ea53dcd569 Fix build
- Remove pem/pem_seal.c asn1/x_nx509.c asn1/n_pkey.c
- Remove evp/m_dss.c evp/m_dss1.c evp/m_ecdsa.c
- Add include path crypto/bio to libssl for bio_local.h
2022-01-14 22:18:37 +09:00
kinichiro
5372a1c07a Use Previous VS2019 image with Appveyor 2022-01-13 19:36:06 +09:00
kinichiro
71f437de62 Follow upstream file changes and fix build
- Add asn1_lib.c
- Consolidation of ASN.1 code
  Add asn1_item.c asn1_old.c
  Remove a_d2i_fp.c a_digest.c a_dup.c a_i2d_fp.c a_sign.c a_verify.c
- Merge evp_asn1.c into a_type.c
- Merge asn_pack.c into asn1_item.c
- Rename tls13_key_share.c to tls_key_share.c
- Add bio/bio_local.h dh/dh_local.h ocsp/ocsp_local.h
- Add comp/comp_local.h
- Add define LIBRESSL_CRYPTO_INTERNAL to regress build
2022-01-12 20:04:53 +09:00
Brent Cook
7f5ad60d69 update notification email 2021-12-28 10:57:19 -06:00
Brent Cook
b3f73b8a80 Land #717, add coverity scan automation 2021-12-28 10:54:30 -06:00
kinichiro
29a743d597 Add regress asn1api, asn1basic, asn1complex, asn1string_copy and ec_asn1_test 2021-12-27 19:49:44 +09:00
Ilya Shipitsin
e66edcb58f enable scheduled Coverity scan 2021-12-27 12:31:17 +05:00
kinichiro
adde656bb7 Add strtonum to compat library and export it
crypto library requires strtonum now, and add it to compat library.
remove it from applications compat/ directories.
2021-12-26 16:00:25 +09:00
Brent Cook
1b95c5d584 update for asn1 changes 2021-12-19 20:31:26 -06:00
Brent Cook
26ed65c0b1 add hmac_local.h 2021-12-15 03:32:25 -06:00
kinichiro
755afbe5e4 Ignore ar command error
'ar d' command gets error on macos if specified object not exist.
2021-12-13 20:25:46 +09:00
kinichiro
858628bc77 Remove bytestring objects from static libssl with autotools 2021-12-12 14:37:35 +09:00
kinichiro
244fd5608f Add crypto/bytestring with cmake 2021-12-11 22:05:40 +09:00
kinichiro
b10ff615eb Add crypto/bytestring with autotools 2021-12-11 22:05:28 +09:00
kinichiro
a3a03842f6 Consolidate d2i_pr.c/i2d_pr.c into a_pkey.c and
consolidate d2i_pu.c/i2d_pu.c into a_pubkey.c
2021-12-09 19:59:29 +09:00
kinichiro
7fe1bf86e1 Fix _PATH_SSL_CA_FILE for ocsp_test 2021-12-04 21:00:39 +09:00
kinichiro
87c45af9e0 Sort regress key_schedule 2021-12-04 21:00:39 +09:00
kinichiro
b51803910f Add regress ssl_methods 2021-12-04 21:00:39 +09:00
Brent Cook
88c93260da Land #700, Set IA-64 flags only on HP-UX IA-64 2021-12-04 04:05:04 -06:00
kinichiro
c211d97ecb Remove unneeded target_include_directories with cmake
This could remove recurring of the same statement for include directories.
Instead of this removals, apps/* and tests  should have include path that
had been provided by INTERFACE_INCLUDE_DIRECTORIES of target libs and
internal static libs.
2021-12-04 14:36:39 +09:00