Searched refs:identity_hint (Results 1 – 2 of 2) sorted by relevance
4318 int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint) in SSL_CTX_use_psk_identity_hint() argument4320 if (identity_hint != NULL && strlen(identity_hint) > PSK_MAX_IDENTITY_LEN) { in SSL_CTX_use_psk_identity_hint()4325 if (identity_hint != NULL) { in SSL_CTX_use_psk_identity_hint()4326 ctx->cert->psk_identity_hint = OPENSSL_strdup(identity_hint); in SSL_CTX_use_psk_identity_hint()4334 int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint) in SSL_use_psk_identity_hint() argument4339 if (identity_hint != NULL && strlen(identity_hint) > PSK_MAX_IDENTITY_LEN) { in SSL_use_psk_identity_hint()4344 if (identity_hint != NULL) { in SSL_use_psk_identity_hint()4345 s->cert->psk_identity_hint = OPENSSL_strdup(identity_hint); in SSL_use_psk_identity_hint()
839 __owur int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint);840 __owur int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint);