[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openssl-gost] [gost-engine/engine] 3c14a7: gost_pmeth.c: mitigate for constness difference in...
Branch: refs/heads/master
Home: https://github.com/gost-engine/engine
Commit: 3c14a70bb68cb0a4baae393e1644e9f67f8ce3a1
https://github.com/gost-engine/engine/commit/3c14a70bb68cb0a4baae393e1644e9f67f8ce3a1
Author: Richard Levitte <richard@levitte.org>
Date: 2019-08-23 (Fri, 23 Aug 2019)
Changed paths:
M gost_pmeth.c
Log Message:
-----------
gost_pmeth.c: mitigate for constness difference in copy function
The second argument for the pkey_copy function has been constified in
OpenSSL to be 3.0. This is normally not a problem, but when passing a
pointer to such a function, the compiler does complain.
This change solves the issue by looking at the macros
OPENSSL_VERSION_MAJOR, which is new in OpenSSL to be 3.0, and set
constness based on that.
Fixes #154
Commit: 53a09efd9d9356496c714914ffa8da8812e0dd45
https://github.com/gost-engine/engine/commit/53a09efd9d9356496c714914ffa8da8812e0dd45
Author: Dmitry Belyavskiy <beldmit@users.noreply.github.com>
Date: 2019-08-23 (Fri, 23 Aug 2019)
Changed paths:
M gost_pmeth.c
Log Message:
-----------
Merge pull request #159 from levitte/fix-154
gost_pmeth.c: mitigate for constness difference in copy function
Compare: https://github.com/gost-engine/engine/compare/a9b81949937c...53a09efd9d93