Replies: 1 comment
|
Hi, @strvv! If your goal is simply to build the gost-engine engine/provider rather than investigate issues with INSTALL.md, I'd recommend using OpenSSL 3.6 or newer. If you're using OpenSSL 3.0, it's better to disable the provider build (this version does not fully support providers) and build only the engine. See to find out, how gost-engine is built on Ci: Try: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have an Ubuntu 24.04.4 LTS system deployed in WSL.
In the file INSTALL.md requirements for OpenSSL - 3.0, in Cmakelists.txt - 3.4
What should I believe?
I changed in CMakeLists.txt versions before 3.0 give an error when building.
I posted a piece of debugging output:
strvv@strvv:~/engine/build$ cmake --build . --config Release
[ 2%] Built target gost89
[ 4%] Built target gosthash
[ 5%] Built target gosthash2012
[ 6%] Built target gost_errI have an Ubuntu 24.04.4 LTS system deployed in WSL.
[ 9%] Built target gosttls12additional
[ 33%] Built target gost_core
[ 35%] Built target gost_core_additional_for_unittests
[ 37%] Built target gostsum
[ 38%] Built target gost12sum
[ 45%] Built target gost_engine
[ 52%] Built target lib_gost_engine
[ 54%] Built target libprov
[ 54%] Building C object CMakeFiles/gost_prov.dir/gost_prov_keymgmt.c.o
In file included from /home/strvv/engine/gost_prov_keymgmt.c:4:
/home/strvv/engine/gost_lcl.h:35:5: warning: #warning "Gost-engine is built against not fully supported version of OpenSSL. EVP_CTRL_SET_TLSTREE_PARAMS definition in OpenSSL is expected." [-Wcpp]
35 | # warning "Gost-engine is built against not fully supported version of OpenSSL.
| ^~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:23:8: error: unknown type name ‘OSSL_FUNC_keymgmt_gen_get_params_fn’
23 | static OSSL_FUNC_keymgmt_gen_get_params_fn keymgmt_gen_get_params;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:24:8: error: unknown type name ‘OSSL_FUNC_keymgmt_gen_gettable_params_fn’
24 | static OSSL_FUNC_keymgmt_gen_gettable_params_fn keymgmt_gen_gettable_params;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:498:12: error: ‘keymgmt_gen_get_params’ redeclared as different kind of symbol
498 | static int keymgmt_gen_get_params(void *genctx, OSSL_PARAM params[])
| ^~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:23:44: note: previous declaration of ‘keymgmt_gen_get_params’ with type ‘int’
23 | static OSSL_FUNC_keymgmt_gen_get_params_fn keymgmt_gen_get_params;
| ^~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:516:19: error: ‘keymgmt_gen_gettable_params’ redeclared as different kind of symbol
516 | const OSSL_PARAM *keymgmt_gen_gettable_params(void *provctx, void *unused)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:24:49: note: previous declaration of ‘keymgmt_gen_gettable_params’ with type ‘int’
24 | static OSSL_FUNC_keymgmt_gen_gettable_params_fn keymgmt_gen_gettable_params;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:781:11: error: ‘OSSL_FUNC_KEYMGMT_GEN_GET_PARAMS’ undeclared here (not in a function); did you mean ‘OSSL_FUNC_KEYMGMT_GEN_SET_PARAMS’?
781 | { OSSL_FUNC_KEYMGMT_GEN_GET_PARAMS, (fptr_t)keymgmt_gen_get_params},
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:791:1: note: in expansion of macro ‘MAKE_KEYMGMT_FUNCTIONS’
791 | MAKE_KEYMGMT_FUNCTIONS(gost2001, NID_id_GostR3410_2001, keymgmt_gost2001_operation_name);
| ^~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:782:11: error: ‘OSSL_FUNC_KEYMGMT_GEN_GETTABLE_PARAMS’ undeclared here (not in a function); did you mean ‘OSSL_FUNC_KEYMGMT_GEN_SETTABLE_PARAMS’?
782 | { OSSL_FUNC_KEYMGMT_GEN_GETTABLE_PARAMS, (fptr_t)keymgmt_gen_gettable_params},
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:791:1: note: in expansion of macro ‘MAKE_KEYMGMT_FUNCTIONS’
791 | MAKE_KEYMGMT_FUNCTIONS(gost2001, NID_id_GostR3410_2001, keymgmt_gost2001_operation_name);
| ^~~~~~~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:788:9: error: ‘OSSL_DISPATCH_END’ undeclared here (not in a function); did you mean ‘OSSL_DISPATCH’?
788 | OSSL_DISPATCH_END
| ^~~~~~~~~~~~~~~~~
/home/strvv/engine/gost_prov_keymgmt.c:791:1: note: in expansion of macro ‘MAKE_KEYMGMT_FUNCTIONS’
791 | MAKE_KEYMGMT_FUNCTIONS(gost2001, NID_id_GostR3410_2001, keymgmt_gost2001_operation_name);
| ^~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/gost_prov.dir/build.make:132: CMakeFiles/gost_prov.dir/gost_prov_keymgmt.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:491: CMakeFiles/gost_prov.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
All reactions