mbedTLS
mbedtls_ssl_context::hostname
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
mbedTLS
mbedtls_ssl_context::hostname
mbedtls_ssl_context::hostname field
expected peer CN for verification (and SNI if available)
Syntax
from
ssl.h:1152
char
*
hostname
;
References
Location
Referrer
Text
ssl.h:1152
char
*
hostname
;
/*!< expected peer CN for verification
ssl_tls.c:5752
mbedtls_ssl_parse_certificate()
ssl
->
hostname
,
ssl_tls.c:7524
mbedtls_ssl_set_hostname()
if
(
ssl
->
hostname
!=
NULL
)
ssl_tls.c:7526
mbedtls_ssl_set_hostname()
mbedtls_platform_zeroize
(
ssl
->
hostname
,
strlen
(
ssl
->
hostname
)
)
;
ssl_tls.c:7527
mbedtls_ssl_set_hostname()
mbedtls_free
(
ssl
->
hostname
)
;
ssl_tls.c:7534
mbedtls_ssl_set_hostname()
ssl
->
hostname
=
NULL
;
ssl_tls.c:7538
mbedtls_ssl_set_hostname()
ssl
->
hostname
=
mbedtls_calloc
(
1
,
hostname_len
+
1
)
;
ssl_tls.c:7539
mbedtls_ssl_set_hostname()
if
(
ssl
->
hostname
==
NULL
)
ssl_tls.c:7542
mbedtls_ssl_set_hostname()
memcpy
(
ssl
->
hostname
,
hostname
,
hostname_len
)
;
ssl_tls.c:7544
mbedtls_ssl_set_hostname()
ssl
->
hostname
[
hostname_len
]
=
'\0'
;
ssl_tls.c:8981
mbedtls_ssl_free()
if
(
ssl
->
hostname
!=
NULL
)
ssl_tls.c:8983
mbedtls_ssl_free()
mbedtls_platform_zeroize
(
ssl
->
hostname
,
strlen
(
ssl
->
hostname
)
)
;
ssl_tls.c:8984
mbedtls_ssl_free()
mbedtls_free
(
ssl
->
hostname
)
;
Data Use
Functions writing
mbedtls_ssl_context::hostname
Functions reading
mbedtls_ssl_context::hostname
mbedtls_ssl_set_hostname()
all items filtered out
mbedtls_ssl_context::hostname
mbedtls_ssl_parse_certificate()
mbedtls_ssl_set_hostname()
mbedtls_ssl_free()
all items filtered out