Lines Matching refs:cert_name
184 char cert_name[1024]; /* Name from certificate */ in httpCredentialsAreValidForName() local
189 …509_ASN_ENCODING, &(cert->pCertInfo->Subject), CERT_SIMPLE_NAME_STR, cert_name, sizeof(cert_name))) in httpCredentialsAreValidForName()
195 char *ptr = strrchr(cert_name, ','); in httpCredentialsAreValidForName()
197 _cups_strcpy(cert_name, ptr + 2); in httpCredentialsAreValidForName()
200 strlcpy(cert_name, "unknown", sizeof(cert_name)); in httpCredentialsAreValidForName()
205 strlcpy(cert_name, "unknown", sizeof(cert_name)); in httpCredentialsAreValidForName()
211 if (_cups_strcasecmp(common_name, cert_name)) in httpCredentialsAreValidForName()
220 if (strncmp(cert_name, "*.", 2) || !domain || _cups_strcasecmp(domain, cert_name + 1)) in httpCredentialsAreValidForName()
346 char cert_name[256]; /* Common name */ in httpCredentialsString() local
363 …509_ASN_ENCODING, &(cert->pCertInfo->Subject), CERT_SIMPLE_NAME_STR, cert_name, sizeof(cert_name))) in httpCredentialsString()
369 char *ptr = strrchr(cert_name, ','); in httpCredentialsString()
371 _cups_strcpy(cert_name, ptr + 2); in httpCredentialsString()
374 strlcpy(cert_name, "unknown", sizeof(cert_name)); in httpCredentialsString()
378 …%s / %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", cert_name, httpGetDateStri… in httpCredentialsString()