Home
last modified time | relevance | path

Searched refs:psk_selected (Results 1 – 3 of 3) sorted by relevance

/dports/security/stunnel/stunnel-5.60/src/
H A Dctx.c671 if(!c->opt->psk_selected) { in psk_client_callback()
678 identity_len=strlen(c->opt->psk_selected->identity)+1; in psk_client_callback()
684 if(c->opt->psk_selected->key_len>max_psk_len) { in psk_client_callback()
686 (long unsigned)c->opt->psk_selected->key_len, max_psk_len); in psk_client_callback()
689 strcpy(identity, c->opt->psk_selected->identity); in psk_client_callback()
690 memcpy(psk, c->opt->psk_selected->key_val, c->opt->psk_selected->key_len); in psk_client_callback()
692 return (unsigned)(c->opt->psk_selected->key_len); in psk_client_callback()
H A Dprototypes.h265 PSK_KEYS *psk_keys, *psk_selected; member
H A Doptions.c2654 section->psk_selected=NULL; in parse_service_option()
2678 section->psk_selected= in parse_service_option()
2680 if(!section->psk_selected) in parse_service_option()
2683 section->psk_selected=section->psk_keys; in parse_service_option()