File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,17 +15,6 @@ if(CUBIC_LOCAL_BUILD)
1515 dpp::dpp
1616 )
1717else () # for ci
18- set (MLS_BUILD_TESTS OFF CACHE BOOL "" FORCE )
19- set (MLS_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE )
20-
21- CPMAddPackage ("gh:cisco/mlspp#v0.1.0" )
22- CPMAddPackage ("gh:cisco/hpke#v0.1.0" )
23- CPMAddPackage ("gh:cisco/tls-syntax#v0.1.0" )
24- CPMAddPackage ("gh:cisco/bytes#v0.1.0" )
25- CPMAddPackage ("gh:cisco/mls-vectors#v0.1.0" )
26-
27- set (DPP_BUILD_MLS ON CACHE BOOL "" FORCE )
28-
2918 CPMAddPackage ("gh:brainboxdotcc/DPP#v10.1.4" )
3019 target_link_libraries (${PROJECT_NAME } PRIVATE
3120 dpp
@@ -38,12 +27,9 @@ else() # for ci
3827 )
3928endif ()
4029
41- find_package (OpenSSL REQUIRED )
4230find_package (re2 CONFIG REQUIRED )
4331
4432target_link_libraries (${PROJECT_NAME } PRIVATE
45- OpenSSL::SSL
46- OpenSSL::Crypto
4733 re2::re2
4834)
4935
Original file line number Diff line number Diff line change 11#include < Cubic/Cubic.h>
22
3- #include < openssl/bn.h>
4-
53using namespace cubic ::prelude;
64
7- void dpp::bignumber::bn_deleter::operator ()(struct dpp ::openssl_bignum* bn) const noexcept {
8- if (bn) BN_free (reinterpret_cast <BIGNUM *>(bn));
9- };
10-
115int main () {
126 auto & bot = Bot::get ();
137
Original file line number Diff line number Diff line change 22 "name" : " cubicdiscord" ,
33 "version-string" : " 1.0.0" ,
44 "dependencies" : [
5- " dpp" ,
6- " openssl" ,
7- " re2"
8- ],
9- "builtin-baseline" : " 56bb2411609227288b70117ead2c47585ba07713"
5+ " re2" ,
6+ " dpp"
7+ ]
108}
You can’t perform that action at this time.
0 commit comments