Lines Matching defs:gc
213 struct gc_arena gc = gc_new ();
222 msg (msglevel, "%d:%s", i, format_hex(ch->sha1_hash, SHA_DIGEST_LENGTH, 0, &gc));
225 gc_free (&gc);
408 struct gc_arena gc = gc_new ();
431 unsigned char *sha1_hash = x509_get_sha1_hash(peer_cert, &gc);
435 ":", &gc));
440 serial = x509_get_serial(peer_cert, &gc);
444 gc_free(&gc);
481 verify_cert_export_cert(openvpn_x509_cert_t *peercert, const char *tmp_dir, struct gc_arena *gc)
490 peercert_filename = create_temp_file (tmp_dir, "pcf", gc);
517 struct gc_arena gc = gc_new();
524 if ((tmp_file=verify_cert_export_cert(cert, verify_export_cert, &gc)))
541 gc_free(&gc);
565 struct gc_arena gc = gc_new();
567 char *serial = x509_get_serial(cert, &gc);
587 gc_free(&gc);
598 struct gc_arena gc = gc_new();
606 subject = x509_get_subject(cert, &gc);
647 unsigned char *sha1_hash = x509_get_sha1_hash(cert, &gc);
710 gc_free(&gc);
773 struct gc_arena gc = gc_new ();
777 acf = create_temp_file (opt->tmp_dir, "acf", &gc);
783 gc_free (&gc);
956 struct gc_arena gc = gc_new ();
971 tmp_file = create_temp_file (session->opt->tmp_dir, "up", &gc);
1019 gc_free (&gc);
1129 struct gc_arena gc = gc_new ();
1145 ALLOC_ARRAY_CLEAR_GC (raw_username, char, USER_PASS_LEN, &gc);
1210 gc_free (&gc);
1255 struct gc_arena gc = gc_new ();
1258 const char *path = gen_path (session->opt->client_config_dir_exclusive, cn, &gc);
1267 gc_free (&gc);