Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt335672 <30179339+matt335672@users.noreply.github.com>2022-10-20 11:56:23 +0300
committermatt335672 <30179339+matt335672@users.noreply.github.com>2022-10-20 11:56:23 +0300
commit18c553878198c4e0c32e1c36a15916213e6645b8 (patch)
treedd53638ed011173ccbb010a61716444c1c76f3fb
parent5cbf0cb5ace27f4054b8323ffb996f930e35a555 (diff)
Add casts required for C++ CI and OpenSSL 3.x
-rw-r--r--common/ssl_calls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ssl_calls.c b/common/ssl_calls.c
index 168add76..c53afde5 100644
--- a/common/ssl_calls.c
+++ b/common/ssl_calls.c
@@ -337,7 +337,7 @@ ssl_sha1_clear(void *sha1_info)
#else
if (sha1_info != NULL)
{
- EVP_DigestInit_ex(sha1_info, g_md_sha1, NULL);
+ EVP_DigestInit_ex((EVP_MD_CTX *)sha1_info, g_md_sha1, NULL);
}
#endif
}
@@ -417,7 +417,7 @@ ssl_md5_clear(void *md5_info)
#else
if (md5_info != NULL)
{
- EVP_DigestInit_ex(md5_info, g_md_md5, NULL);
+ EVP_DigestInit_ex((EVP_MD_CTX *)md5_info, g_md_md5, NULL);
}
#endif
}