Lines Matching refs:f
459 SECItem f; in mod_nss_load_pem_file() local
460 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_pem_file()
467 char *b = (char *)f.data; in mod_nss_load_pem_file()
470 b = (char *)f.data; in mod_nss_load_pem_file()
475 if (NULL != strstr((char *)f.data, "-----")) { in mod_nss_load_pem_file()
502 if (NULL == SECITEM_AllocItem(arena, chain->certs+0, f.len)) { in mod_nss_load_pem_file()
506 memcpy(chain->certs[0].data, f.data, (chain->certs[0].len = f.len)); in mod_nss_load_pem_file()
512 for (char *e = (char *)f.data; (b = strstr(e, PEM_BEGIN_CERT)); ++i) { in mod_nss_load_pem_file()
523 for (char *e=(char *)f.data; (b=strstr(e,PEM_BEGIN_TRUSTED_CERT)); ++i){ in mod_nss_load_pem_file()
540 mod_nss_secitem_wipe(&f); in mod_nss_load_pem_file()
652 SECItem f; in mod_nss_load_config_crls() local
653 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_config_crls()
661 char *b = (char *)f.data; in mod_nss_load_config_crls()
688 for (char *e = (char *)f.data; (b = strstr(e,PEM_BEGIN_X509_CRL)); ++i){ in mod_nss_load_config_crls()
711 mod_nss_secitem_wipe(&f); in mod_nss_load_config_crls()
750 SECItem f; in mod_nss_load_config_pkey() local
751 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_config_pkey()
761 if ((b = strstr((char *)f.data, PEM_BEGIN_PKEY)) in mod_nss_load_config_pkey()
764 else if ((b = strstr((char *)f.data, PEM_BEGIN_EC_PKEY)) in mod_nss_load_config_pkey()
767 else if ((b = strstr((char *)f.data, PEM_BEGIN_RSA_PKEY)) in mod_nss_load_config_pkey()
770 else if ((b = strstr((char *)f.data, PEM_BEGIN_DSA_PKEY)) in mod_nss_load_config_pkey()
773 else if ((b = strstr((char *)f.data, PEM_BEGIN_ANY_PKEY)) in mod_nss_load_config_pkey()
776 else if (NULL == strstr((char *)f.data, "-----")) { in mod_nss_load_config_pkey()
777 der = f; /*(copy struct)*/ in mod_nss_load_config_pkey()
778 f.type = 0; in mod_nss_load_config_pkey()
779 f.data = NULL; in mod_nss_load_config_pkey()
780 f.len = 0; in mod_nss_load_config_pkey()
817 mod_nss_secitem_wipe(&f); in mod_nss_load_config_pkey()
1061 SECItem f; in mod_nss_reload_stapling_file() local
1062 int rc = mod_nss_load_file(pc->ssl_stapling_file->ptr, &f, srv->errh); in mod_nss_reload_stapling_file()
1079 pc->OCSPResponse.data = f.data; in mod_nss_reload_stapling_file()
1080 pc->OCSPResponse.len = f.len; in mod_nss_reload_stapling_file()