Lines Matching refs:nickname
546 char *nickname = NULL; in nss_load_cert() local
555 nickname = aprintf("PEM Token #1:%s", n); in nss_load_cert()
556 if(nickname) { in nss_load_cert()
557 cert = PK11_FindCertFromNickname(nickname, NULL); in nss_load_cert()
561 free(nickname); in nss_load_cert()
1138 const char *nickname = backend->client_nickname; in SelectClientCert() local
1186 if(SECSuccess != NSS_GetClientAuthData((void *)nickname, sock, caNames, in SelectClientCert()
1190 if(NULL == nickname) in SelectClientCert()
1194 failf(data, "NSS: client certificate not found: %s", nickname); in SelectClientCert()
1200 nickname = (*pRetCert)->nickname; in SelectClientCert()
1201 if(NULL == nickname) in SelectClientCert()
1202 nickname = "[unknown]"; in SelectClientCert()
1204 if(!strncmp(nickname, pem_slotname, sizeof(pem_slotname) - 1U)) { in SelectClientCert()
1206 nickname); in SelectClientCert()
1211 failf(data, "NSS: private key not found for certificate: %s", nickname); in SelectClientCert()
1215 infof(data, "NSS: using client certificate: %s\n", nickname); in SelectClientCert()
1969 char *nickname = dup_nickname(data, SSL_SET_OPTION(primary.clientcert)); in nss_setup_connect() local
1970 if(nickname) { in nss_setup_connect()
1986 backend->client_nickname = nickname; in nss_setup_connect()
2163 char *nickname = dup_nickname(data, SSL_SET_OPTION(issuercert)); in nss_do_connect() local
2164 if(nickname) { in nss_do_connect()
2166 ret = check_issuer_cert(backend->handle, nickname); in nss_do_connect()
2167 free(nickname); in nss_do_connect()