summaryrefslogtreecommitdiff
path: root/platform/src/ssl_stream.cpp
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2024-10-16 16:16:44 +0800
committerfengweihao <[email protected]>2024-10-16 16:16:44 +0800
commit48cba684fe27741b60ef3169013ef97225ced5f4 (patch)
treec1d75a67f87ffb7056141598c6f1f7c75e36dca9 /platform/src/ssl_stream.cpp
parent8e38bbcf489af24146b60ab6f3b01e8b7cf7ab26 (diff)
TSG-22707 Adaptation of DB indicates changes, fixes self-check process testing issues
Diffstat (limited to 'platform/src/ssl_stream.cpp')
-rw-r--r--platform/src/ssl_stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/src/ssl_stream.cpp b/platform/src/ssl_stream.cpp
index 720d161..bd3d8f8 100644
--- a/platform/src/ssl_stream.cpp
+++ b/platform/src/ssl_stream.cpp
@@ -2225,7 +2225,7 @@ void ssl_stream_get_untrusted_keyring_profile_id(struct ssl_stream *upstream, uu
uuid_clear(*profile_id);
uint16_t out_size;
struct tfe_cmsg *cmsg = tfe_stream_get0_cmsg(upstream->tcp_stream);
- int ret = tfe_cmsg_get_value(cmsg, TFE_CMSG_KEYRING_FOR_UNTRUSTED, (unsigned char *)profile_id, sizeof(profile_id), &out_size);
+ int ret = tfe_cmsg_get_value(cmsg, TFE_CMSG_KEYRING_FOR_UNTRUSTED, (unsigned char *)profile_id, sizeof(uuid_t), &out_size);
assert(ret == 0);
assert(out_size == sizeof(uuid_t));
(void)ret;