Skip to content

Commit 2091bd0

Browse files
Changed name argument to const (#1490)
Changed name argument to const in Md5LookupGetBySubject to support OpenSSL v3.1.4 Relates-To: OLPEDGE-2876 Signed-off-by: Mykhailo Kuchma <ext-mykhailo.kuchma@here.com>
1 parent 80f5dcc commit 2091bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ int Md5LookupCtrl(X509_LOOKUP* ctx, int, const char*, long, char**) {
6767
}
6868

6969
int Md5LookupGetBySubject(X509_LOOKUP* ctx, X509_LOOKUP_TYPE type,
70-
X509_NAME* name, X509_OBJECT* ret) {
70+
const X509_NAME* name, X509_OBJECT* ret) {
7171
if (type != X509_LU_X509) {
7272
OLP_SDK_LOG_ERROR_F(kLogTag, "Unsupported lookup type, type=%d", type);
7373
return 0;

0 commit comments

Comments
 (0)