Lines Matching refs:cert_ptr
340 FILE *cert_ptr; in sdsi_meter_cert_show() local
365 cert_ptr = fopen("meter_certificate", "r"); in sdsi_meter_cert_show()
366 if (!cert_ptr) { in sdsi_meter_cert_show()
371 size = fread(buf, 1, sizeof(buf), cert_ptr); in sdsi_meter_cert_show()
374 fclose(cert_ptr); in sdsi_meter_cert_show()
377 fclose(cert_ptr); in sdsi_meter_cert_show()
430 FILE *cert_ptr; in sdsi_state_cert_show() local
449 cert_ptr = fopen("state_certificate", "r"); in sdsi_state_cert_show()
450 if (!cert_ptr) { in sdsi_state_cert_show()
455 size = fread(buf, 1, sizeof(buf), cert_ptr); in sdsi_state_cert_show()
458 fclose(cert_ptr); in sdsi_state_cert_show()
461 fclose(cert_ptr); in sdsi_state_cert_show()