Skip to content

Commit c7f5b09

Browse files
committed
Fixes
1 parent 2e99008 commit c7f5b09

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

src/DeviceInterfaces/System.Net/sys_net_native_System_Net_Security_CertificateManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ HRESULT Library_sys_net_native_System_Net_Security_CertificateManager::GetDevice
113113
}
114114

115115
NANOCLR_NOCLEANUP();
116-
}
116+
}

src/PAL/COM/sockets/ssl/ssl_stubs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ __nfweak bool SSL_GetPublicKeyRaw(const char *certificate, size_t certLength, X5
167167

168168
NATIVE_PROFILE_PAL_COM();
169169

170-
return TRUE;
170+
return FALSE;
171171
}
172172

173173
__nfweak int SSL_DecodePrivateKey(

targets/AzureRTOS/ST/_common/drivers/wifi/inventek/ssl_ISM43362.cpp

+5-6
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ bool ssl_parse_certificate_internal(void *buf, size_t size, void *pwd, void *x50
2323
return true;
2424
}
2525

26-
bool ssl_get_public_key_raw_internal(void *buf, size_t size, void *pwd, void *x509)
26+
bool ssl_get_public_key_raw_internal(void *certificate, size_t size, void *x509RawData)
2727
{
28-
(void)buf;
28+
(void)certificate;
2929
(void)size;
30-
(void)pwd;
31-
(void)x509;
30+
(void)x509RawData;
3231

33-
// can't really do anything here, so just return true
34-
return true;
32+
// can't really do anything here, so just return false
33+
return false;
3534
}
3635

3736
int ssl_decode_private_key_internal(

targets/TI_SimpleLink/_common/ssl_simplelink.cpp

+6-4
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ bool ssl_parse_certificate_internal(void *buf, size_t size, void *pwd, void *x50
3131
(void)x509;
3232
}
3333

34-
bool ssl_get_public_key_raw_internal(void *buf, size_t size, void *pwd, void *x509)
34+
bool ssl_get_public_key_raw_internal(void *certificate, size_t size, void *x509RawData)
3535
{
36-
(void)buf;
36+
(void)certificate;
3737
(void)size;
38-
(void)pwd;
39-
(void)x509;
38+
(void)x509RawData;
39+
40+
// can't really do anything here, so just return false
41+
return false;
4042
}
4143

4244
int ssl_decode_private_key_internal(

0 commit comments

Comments
 (0)