]> wagner.pp.ru Git - openssl-gost/engine.git/commit
Also build gost-engine in library form
authorRichard Levitte <richard@levitte.org>
Wed, 17 Feb 2021 18:01:19 +0000 (19:01 +0100)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Mon, 22 Feb 2021 08:11:38 +0000 (09:11 +0100)
commitd9a2b2973a1174baa4cecbffc6809764b63de2eb
tree93884f648433e54938d0a3463d253a7b6ac707a9
parentcfe735d6ed59489b434ffe6e92181211800e626b
Also build gost-engine in library form

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.
CMakeLists.txt
gost-engine.h [new file with mode: 0644]
gost_eng.c