Commit cfbac40
committed
refactor!: update libdave submodule, include licenses
The upstream libdave repo received a bunch of refactors almost exclusively
for the C API, which we as non-C-API consumers must now unfortunately deal with.
Notable upstream changes include:
- `src/dave/*` was moved to `src/*`, and the includes were set to private,
which means we now manually include this path and adjust the include names.
it's not pretty, but what can you do.
- The openssl/mlspp links were changed to `PRIVATE`, but we need access to mlspp,
so they were changed back to public. This doesn't affect the end result whatsoever,
but makes it a tiny bit easier to just reuse that logic.1 parent 4d85c28 commit cfbac40
File tree
7 files changed
+9
-9
lines changed- src
7 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
- .github/actions/prepare-build/action.yaml+47-6
- .github/workflows/main.yaml+62-36
- cpp/CMakeLists.txt+59-13
- cpp/Makefile+94-54
- cpp/afl-driver/src/main.cpp+3-3
- cpp/includes/dave/array_view.h
- cpp/includes/dave/dave.h+21-4
- cpp/includes/dave/dave_interfaces.h+14-5
- cpp/includes/dave/logger.h+1-1
- cpp/includes/dave/version.h+2
- cpp/src/bindings_capi.cpp+19-4
- cpp/src/bindings_wasm.cpp+9-8
- cpp/src/boringssl_cryptor.cpp+2-2
- cpp/src/boringssl_cryptor.h+1-1
- cpp/src/codec_utils.cpp+2-1
- cpp/src/codec_utils.h+2-2
- cpp/src/common.h+1-1
- cpp/src/cryptor.cpp
- cpp/src/cryptor.h+2-3
- cpp/src/cryptor_manager.cpp+1-1
- cpp/src/cryptor_manager.h+1-1
- cpp/src/decryptor.cpp+1-1
- cpp/src/decryptor.h+2-2
- cpp/src/encryptor.cpp+9-10
- cpp/src/encryptor.h+6-6
- cpp/src/frame_processors.cpp+2-2
- cpp/src/frame_processors.h+2-2
- cpp/src/key_ratchet.h
- cpp/src/logger.cpp+1-1
- cpp/src/mls/detail/persisted_key_pair.h+1-1
- cpp/src/mls/detail/persisted_key_pair_apple.cpp+3-3
- cpp/src/mls/detail/persisted_key_pair_generic.cpp+3-3
- cpp/src/mls/detail/persisted_key_pair_null.cpp+1-1
- cpp/src/mls/detail/persisted_key_pair_win.cpp+3-3
- cpp/src/mls/parameters.cpp
- cpp/src/mls/parameters.h+1-2
- cpp/src/mls/persisted_key_pair.cpp+3-3
- cpp/src/mls/persisted_key_pair.h+2-3
- cpp/src/mls/persisted_key_pair_null.cpp
- cpp/src/mls/session.cpp+8-8
- cpp/src/mls/session.h+4-4
- cpp/src/mls/user_credential.cpp+1-1
- cpp/src/mls/user_credential.h+1-1
- cpp/src/mls/util.cpp
- cpp/src/mls/util.h
- cpp/src/mls_key_ratchet.cpp+3-2
- cpp/src/mls_key_ratchet.h+1-1
- cpp/src/openssl_cryptor.cpp+14-9
- cpp/src/openssl_cryptor.h+1-4
- cpp/src/utils/clock.h
- cpp/src/utils/leb128.cpp
- cpp/src/utils/leb128.h
- cpp/src/utils/scope_exit.h
- cpp/src/version.cpp+1-1
- cpp/test/CMakeLists.txt+24-5
- cpp/test/capi/CMakeLists.txt+31-7
- cpp/test/capi/basic_tests.c+73-4
- cpp/test/capi/external_sender_wrapper.cpp+5-2
- cpp/test/capi/external_sender_wrapper.h+1-1
- cpp/test/codec_utils_tests.cpp+5-5
- cpp/test/cryptor_manager_tests.cpp+3-3
- cpp/test/cryptor_tests.cpp+3-3
- cpp/test/dave_test.h+1-1
- cpp/test/external_sender.cpp+22-4
- cpp/test/external_sender.h+1-2
- cpp/test/static_key_ratchet.cpp+2-2
- cpp/test/static_key_ratchet.h+1-1
- cpp/test/xssl_cryptor_tests.cpp+2-2
- cpp/vcpkg-alts/boringssl/overlay-ports/mlspp/portfile.cmake+6-2
- cpp/vcpkg-alts/boringssl/overlay-ports/mlspp/vcpkg.json+8-1
- cpp/vcpkg-alts/openssl_1.1/overlay-ports/mlspp/portfile.cmake+7-3
- cpp/vcpkg-alts/openssl_1.1/overlay-ports/mlspp/vcpkg.json+8-1
- cpp/vcpkg-alts/openssl_3/overlay-ports/mlspp/portfile.cmake+6-2
- cpp/vcpkg-alts/openssl_3/overlay-ports/mlspp/vcpkg.json+8-1
- cpp/vcpkg-alts/wasm/overlay-ports/mlspp/portfile.cmake+6-2
- cpp/vcpkg-alts/wasm/overlay-ports/mlspp/vcpkg.json+8-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments