OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tcreds
(Results
1 - 3
of
3
) sorted by null
/external/libcups/cups/
testcreds.c
39
*
tcreds
; /* Credentials from trust store */
local
109
if (!httpLoadCredentials(NULL, &
tcreds
, hostname))
111
httpCredentialsString(
tcreds
, tinfo, sizeof(tinfo));
113
printf(" Certificate Count: %d\n", cupsArrayCount(
tcreds
));
114
printf(" Expiration: %s\n", httpGetDateString(httpCredentialsGetExpiration(
tcreds
)));
115
printf(" IsValidName: %d\n", httpCredentialsAreValidForName(
tcreds
, hostname));
118
httpFreeCredentials(
tcreds
);
tls-gnutls.c
432
cups_array_t *
tcreds
= NULL; /* Trusted credentials */
local
459
httpLoadCredentials(NULL, &
tcreds
, common_name);
461
if (
tcreds
)
467
httpCredentialsString(
tcreds
, tcreds_str, sizeof(tcreds_str));
486
else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(
tcreds
))
506
else if (httpCredentialsGetExpiration(
tcreds
) < time(NULL))
518
httpFreeCredentials(
tcreds
);
531
if (!httpLoadCredentials(NULL, &
tcreds
, "site"))
533
if (cupsArrayCount(credentials) != (cupsArrayCount(
tcreds
) + 1))
549
for (a = (http_credential_t *)cupsArrayFirst(
tcreds
), b = (http_credential_t *)cupsArrayIndex(credentials, 1)
[
all
...]
tls-darwin.c
603
cups_array_t *
tcreds
= NULL; /* Trusted credentials */
local
627
httpLoadCredentials(NULL, &
tcreds
, common_name);
629
if (
tcreds
)
635
httpCredentialsString(
tcreds
, tcreds_str, sizeof(tcreds_str));
654
else if (httpCredentialsGetExpiration(credentials) <= httpCredentialsGetExpiration(
tcreds
))
674
else if (httpCredentialsGetExpiration(
tcreds
) < time(NULL))
686
httpFreeCredentials(
tcreds
);
699
if (!httpLoadCredentials(NULL, &
tcreds
, "site"))
701
if (cupsArrayCount(credentials) != (cupsArrayCount(
tcreds
) + 1))
717
for (a = (http_credential_t *)cupsArrayFirst(
tcreds
), b = (http_credential_t *)cupsArrayIndex(credentials, 1)
[
all
...]
Completed in 147 milliseconds