- Sep 19, 2021
-
-
Nikolas authored
-
- Sep 16, 2021
-
-
Dmitry Belyavskiy authored
...in DN output
-
- Sep 06, 2021
-
-
Richard Levitte authored
-
- Sep 01, 2021
-
-
Richard Levitte authored
MacOS ld doesn't support -rpath, so we must be able to not use it there.
-
Richard Levitte authored
Now that .github/before_script.sh works properly on MacOS, there is no reason not to use it for this job as well.
-
Richard Levitte authored
It makes sure to install it where site perl scripts should be located.
-
Richard Levitte authored
-
- Aug 29, 2021
-
-
Richard Levitte authored
-
- Aug 19, 2021
-
-
Dmitry Belyavskiy authored
-
Dmitry Belyavskiy authored
Fix #346
-
- Aug 18, 2021
-
-
Richard Levitte authored
Cmake 3.0 was a switch to using targets and properties rather than variables when linking different components together. We follow that philosophy by dropping ${OPENSSL_CRYPTO_LIBRARIES} and ${OPENSSL_SSL_LIBRARIES} in favor of OpenSSL::Crypto and OpenSSL::SSL. -
Richard Levitte authored
Cmake is generally good at tracking specified dependencies between libraries. All that we need to do is to establish a dependency on OpenSSL's libcrypto for 'gost_core', and then we can reduce the amount of repeated dependencies for everything that links against 'gost_core'.
-
Richard Levitte authored
The static OpenSSL libraries have some dependencies that need to be recorded fofr everything that's linked against it. To achieve this, we use ${OPENSSL_CRYPTO_LIBRARIES} and ${OPENSSL_SSL_LIBRARIES} instead of ${OPENSSL_CRYPTO_LIBRARY} and ${OPENSSL_SSL_LIBRARY}.
-
- Aug 11, 2021
-
-
Billy Brumley authored
-
Billy Brumley authored
-
Dmitry Belyavskiy authored
OpenSSL commit https://github.com/openssl/openssl/commit/74b7f339aa58af57c0e71b7efca66e6f2db5ae2e changed the default installation path on 64-bit systems. The recommended workaround is appending --libdir=lib
-
Dmitry Belyavskiy authored
-
- Jun 02, 2021
-
-
Dmitry Belyavskiy authored
More earlier versions don't properly detect OpenSSL 3.0. BTW, workarounds still exist
-
- May 28, 2021
-
-
Dmitry Belyavskiy authored
-
https://github.com/levitte/engineDmitry Belyavskiy authored
Merge branch 'update-codeql-analysis' of https://github.com/levitte/engine into levitte-update-codeql-analysis
-
Richard Levitte authored
These days, the OpenSSL cmake package finder is capable of finding a custom OpenSSL installation with no OPENSSL_ROOT_DIR defined, but CMAKE_PREFIX_PATH defined. However, gost-engine's CMakeLists.txt does use OPENSSL_ROOT_DIR, so it needs it to be defined unconditionally. That's arranged fairly easily by assigning it the parent directory of OPENSSL_INCLUDE_DIR.
-
Dmitry Belyavskiy authored
-
Richard Levitte authored
Most of all, at least openssl-3.0.0-alpha16 is needed, because there are API changes made in that release that affects gost-engine builds
-
- May 23, 2021
-
-
Dmitry Belyavskiy authored
-
- May 11, 2021
-
-
Richard Levitte authored
The C flags were set to be highly optimized regardless of the cmake build type. This may make debugging difficult. To resolve that, we adapt the C flags to the cmake build type in a supported manner.
-
Dmitry Belyavskiy authored
-
- May 06, 2021
-
-
Dmitry Belyavskiy authored
(cherry picked from commit 1b684f3f)
-
- May 02, 2021
-
-
Richard Levitte authored
-
Richard Levitte authored
This test is so internal that it doesn't even need the engine.
-
Richard Levitte authored
The following programs had a hard coded load of the gost engine. This changes them to rely more on the testing environment, and to load engines through configuration files. This affects: test_ciphers.c, test_context.c, test_derive.c, test_digest.c, test_params.c, test_sign.c, test_tls.c
-
- Apr 02, 2021
-
-
se-prok authored
It's not right to have segmentation faults.
-
- Mar 31, 2021
-
-
Richard Levitte authored
When building in a directory that's separate from the source directory, test results should end up in the build directory, not the source directory. Essentially, unless you do build in the source directory, it should be regarded as read-only when building.
-
Richard Levitte authored
Cmake doesn't support the variable CMAKE_INSTALL_DIR. However, with the GNUInstallDirs module, there is the variable CMAKE_INSTALL_MANDIR.
-
Richard Levitte authored
From 3.0.0-alpha6 to 3.0.0-alpha13, mostly for Analysis to avoid getting failures when compiling, considering that the GOST source has adapted for the latter version.
-
- Mar 17, 2021
-
-
Sergei Lemeshkin authored
-
Dmitry Belyavskiy authored
-
- Mar 03, 2021
-
-
Dmitry Belyavskiy authored
-
- Feb 22, 2021
-
-
Richard Levitte authored
Using cNORM after "\n" may or may not work, probably because of the line buffered nature of standard output. If an error is displayed immediately after a printf that has cNORM after "\n", the error output sometimes "overrides" the cNORM, and you may end up with a surprisingly colorful error message, not to mention that this may also affect your prompt in the same manner. The lesson is to always output cNORM before the ending "\n".
-
Richard Levitte authored
- Simplify the installation of libraries and programs to simply use defaults. - Install only the gost engine in module form into the OpenSSL engine directory. - Install the gostsum and gost12sum manuals in the normal man1 directory, as there's really no reason to install them among OpenSSL stuff specifically. - Install the cmake configuration file.
-
Richard Levitte authored
In this form, the GOST engine isn't loadable through OpenSSL's dynamic ENGINE loader, but directly as its own function, ENGINE_load_gost(). After making that call, the engine functionality can be used as usual. This includes a public header file called gost-engine.h, which declares that functions. This also rearranges the code in gost_eng.c, as the binding functionality was spread around in the file. Now, it's all nicely tucked at the end.
-