Searched refs:peer_verify (Results 1 – 9 of 9) sorted by relevance
194 static void test_common(int peer_verify) in test_common() argument240 switch (peer_verify) { in test_common()251 &peer_verify, sizeof(peer_verify)); in test_common()258 peer_verify); in test_common()328 switch (peer_verify) { in test_common()340 peer_verify); in test_common()
48 &tls_config->peer_verify, in mqtt_client_tls_connect()49 sizeof(tls_config->peer_verify)); in mqtt_client_tls_connect()
346 int peer_verify; member
148 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED;159 the ``peer_verify`` field.
265 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in aws_client_setup()
184 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in client_init()
498 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in app_mqtt_init()
1963 int *peer_verify; in tls_opt_peer_verify_set() local1973 peer_verify = (int *)optval; in tls_opt_peer_verify_set()1975 if (*peer_verify != MBEDTLS_SSL_VERIFY_NONE && in tls_opt_peer_verify_set()1976 *peer_verify != MBEDTLS_SSL_VERIFY_OPTIONAL && in tls_opt_peer_verify_set()1977 *peer_verify != MBEDTLS_SSL_VERIFY_REQUIRED) { in tls_opt_peer_verify_set()1981 context->options.verify_level = *peer_verify; in tls_opt_peer_verify_set()
329 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in client_init()