Skip to content

Commit

Permalink
Changed name argument to const (#1490)
Browse files Browse the repository at this point in the history
Changed name argument to const in Md5LookupGetBySubject to support
OpenSSL v3.1.4

Relates-To: OLPEDGE-2876

Signed-off-by: Mykhailo Kuchma <[email protected]>
  • Loading branch information
mykhailo-kuchma committed Mar 28, 2024
1 parent 80f5dcc commit 2091bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ int Md5LookupCtrl(X509_LOOKUP* ctx, int, const char*, long, char**) {
}

int Md5LookupGetBySubject(X509_LOOKUP* ctx, X509_LOOKUP_TYPE type,
X509_NAME* name, X509_OBJECT* ret) {
const X509_NAME* name, X509_OBJECT* ret) {
if (type != X509_LU_X509) {
OLP_SDK_LOG_ERROR_F(kLogTag, "Unsupported lookup type, type=%d", type);
return 0;
Expand Down

0 comments on commit 2091bd0

Please sign in to comment.