Searched refs:num_keys (Results 1 – 1 of 1) sorted by relevance
160 static Certificate* add_certificate(Certificate** certsp, int* num_keys, in add_certificate() argument162 int i = *num_keys; in add_certificate()163 *num_keys = *num_keys + 1; in add_certificate()164 *certsp = (Certificate*) realloc(*certsp, *num_keys * sizeof(Certificate)); in add_certificate()179 int num_keys = 0; in main() local184 if (num_keys == 0) { in main()189 Certificate* cert = &certs[num_keys - 1]; in main()193 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::EC); in main()197 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main()201 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main()[all …]