Fix: undefined reference to EVP_MD_CTX_new and EVP_MD_CTX_free
This commit is contained in:
parent
ede3a7e3c7
commit
f26b7dca17
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
AUX liboauth-1.0.1-doxygen-out-of-tree.patch 2231 BLAKE2B 61523955ac500d63879dae34d5cb3507916b49edbf487ce007db7b20d2da58404161a5a6ba063cec86d9507c074a232ea58688f5de2deb6147815b9b5501cd9b SHA512 c7ac48e30ededc7079a08504ae78f421b843100dec2c8658d75ff7a3101660087de962d73ac73bf1023286b0a89c1d1b3187ba36336d1caf051b03d445571dd6
|
||||
AUX liboauth-1.0.3-openssl-1.1.patch 4483 BLAKE2B 4d2628448a1341cc41a676d5002c7f0f17af384fafde77687bc83235d90f4b6b853bbc9a4262fd4acaa0b04cb67d586bca308bb9c66fafbe7de1734fb39a4c1b SHA512 90ae75bbaf7296826f813df852263901ad8632579b5e5dd1e8b1edc4719d3f749ffc30e6348ffc2ddd5239de544c934382f52c4d62e90b3e655fd9630b5b4880
|
||||
AUX liboauth-1.0.3-openssl-1.1.patch 4520 BLAKE2B d342c4218b46949ea1ca59a6b7f0d7f154b3f8d59c831db60498d91a544be48a706ee974727d1a30404fc34f9c022933bedd0a1a38f353c3fb0638eb55dc68ff SHA512 651126972b90e74b3a47af8c3db53cb9414c49694428a4dc1b9ffaa05179b318437c814c3ea494d2b0f02dd202e8ef1400e43e2874fb4ae4c207742ba35ec433
|
||||
DIST liboauth-1.0.3.tar.gz 504950 BLAKE2B 56cf10574af58995de9bf86bb7f00becb360cc899bf1ddb23804820d63ae2c7af29aa29031f68ce79a6cc441cbce27aebf5f1c9dfa029243d7732592d03620c7 SHA512 5a13818dbb3e0df76f7a3fde451eff4f90c9bebfe2076a294921af0c07c2b0789f717f0f862ac6961562d4227e016dc198ddd7efb9c7ac599c3bfbcdb2ac33fa
|
||||
EBUILD liboauth-1.0.3-r100.ebuild 1671 BLAKE2B 1b5c39536e46abfdbe79f389e5d54d1aeb209729c8374aa68339e9aa97371ca33be94009ad6cdcc6ecd84b2b32eb8f5cf612bc8cac5380b819ffc35cf8801024 SHA512 759e80e8e16d646fba4b0bafd3dff09525642c60eb502b8107f535a6762a54b19d863a189a87f45ddd996fff852e2b4c14481a19863ab60d56dcff687dc5c879
|
||||
MISC metadata.xml 879 BLAKE2B 499e638089270b30e1fc4a15008592e036c05032719e05ef06cc4c897be1bebe3d4873caacec09f6c54f65240da2582fee0776aa7e0b89508e98c4a3a668f870 SHA512 05625ec768286997f291d95e40e024c692bb8dd3be2d2eea1c3d7c90b452b9a98988a2ca43a5c6134a0e084e0a4ae40af4a00e809092edbcf3a0630781657a07
|
||||
|
|
|
@ -16,7 +16,7 @@ index 17ff5c8..551991f 100644
|
|||
#include "oauth.h" // base64 encode fn's.
|
||||
#include <openssl/hmac.h>
|
||||
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#define EVP_MD_CTX_new EVP_MD_CTX_create
|
||||
+#define EVP_MD_CTX_free EVP_MD_CTX_destroy
|
||||
+#endif
|
||||
|
|
Loading…
Reference in a new issue