Lines Matching refs:cert_name
188 char cert_name[1024]; /* Name from certificate */ in httpCredentialsAreValidForName() local
193 …509_ASN_ENCODING, &(cert->pCertInfo->Subject), CERT_SIMPLE_NAME_STR, cert_name, sizeof(cert_name))) in httpCredentialsAreValidForName()
199 char *ptr = strrchr(cert_name, ','); in httpCredentialsAreValidForName()
201 _cups_strcpy(cert_name, ptr + 2); in httpCredentialsAreValidForName()
204 strlcpy(cert_name, "unknown", sizeof(cert_name)); in httpCredentialsAreValidForName()
209 strlcpy(cert_name, "unknown", sizeof(cert_name)); in httpCredentialsAreValidForName()
215 if (_cups_strcasecmp(common_name, cert_name)) in httpCredentialsAreValidForName()
224 if (strncmp(cert_name, "*.", 2) || !domain || _cups_strcasecmp(domain, cert_name + 1)) in httpCredentialsAreValidForName()
350 char cert_name[256]; /* Common name */ in httpCredentialsString() local
368 …509_ASN_ENCODING, &(cert->pCertInfo->Subject), CERT_SIMPLE_NAME_STR, cert_name, sizeof(cert_name))) in httpCredentialsString()
374 char *ptr = strrchr(cert_name, ','); in httpCredentialsString()
376 _cups_strcpy(cert_name, ptr + 2); in httpCredentialsString()
379 strlcpy(cert_name, "unknown", sizeof(cert_name)); in httpCredentialsString()
385 …%s / %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", cert_name, httpGetDateStri… in httpCredentialsString()