1. Sep 19, 2021
  2. Sep 16, 2021
  3. Sep 06, 2021
  4. Sep 01, 2021
  5. Aug 29, 2021
  6. Aug 19, 2021
  7. Aug 18, 2021
    • Richard Levitte's avatar
      Switch to using OpenSSL target names in CMakeLists.txt · 36c50fa5
      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.
      36c50fa5
    • Richard Levitte's avatar
      Reduce the repeated library dependence information · 7ca9b827
      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'.
      7ca9b827
    • Richard Levitte's avatar
      Make CMakeLists.txt work better with static OpenSSL libraries · 3df64777
      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}.
      3df64777
  8. Aug 11, 2021
  9. Jun 02, 2021
  10. May 28, 2021
  11. May 23, 2021
  12. May 11, 2021
  13. May 06, 2021
  14. May 02, 2021
  15. Apr 02, 2021
  16. Mar 31, 2021
  17. Mar 17, 2021
  18. Mar 03, 2021
  19. Feb 22, 2021
    • Richard Levitte's avatar
      Always cNORM before "\n" · b56b7ee0
      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".
      b56b7ee0
    • Richard Levitte's avatar
      Modify installation instructions for gost-engine library and module · bc111014
      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.
      bc111014
    • Richard Levitte's avatar
      Also build gost-engine in library form · d9a2b297
      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.
      d9a2b297