Lines Matching refs:gcb
1634 gid_cb_st gcb;
1642 memset(&gcb, 0, sizeof(gcb));
1643 gcb.gidmax = GROUPLIST_INCREMENT;
1644 gcb.tplmax = GROUPLIST_INCREMENT;
1645 gcb.ksidmax = GROUPLIST_INCREMENT;
1646 gcb.ctx = ctx;
1649 gcb.gid_arr = OPENSSL_malloc(gcb.gidmax * sizeof(*gcb.gid_arr));
1650 if (gcb.gid_arr == NULL)
1652 gcb.tuplcnt_arr = OPENSSL_malloc(gcb.tplmax * sizeof(*gcb.tuplcnt_arr));
1653 if (gcb.tuplcnt_arr == NULL)
1655 gcb.tuplcnt_arr[0] = 0;
1656 gcb.ksid_arr = OPENSSL_malloc(gcb.ksidmax * sizeof(*gcb.ksid_arr));
1657 if (gcb.ksid_arr == NULL)
1669 parse_ret = CONF_parse_list(str, TUPLE_DELIMITER_CHARACTER, 1, tuple_cb, &gcb);
1683 for (i = j = 0; j < gcb.tplcnt; j++) {
1684 if (gcb.tuplcnt_arr[j] == 0)
1690 gcb.tuplcnt_arr[i++] = gcb.tuplcnt_arr[j];
1692 gcb.tplcnt = i;
1694 if (gcb.ksidcnt > OPENSSL_CLIENT_MAX_KEY_SHARES) {
1705 if (gcb.gidcnt > 0 && gcb.ksidcnt == 0) {
1710 gcb.ksidcnt = 1;
1711 gcb.ksid_arr[0] = 0;
1729 *grpext = gcb.gid_arr;
1730 *grpextlen = gcb.gidcnt;
1732 *ksext = gcb.ksid_arr;
1733 *ksextlen = gcb.ksidcnt;
1735 *tplext = gcb.tuplcnt_arr;
1736 *tplextlen = gcb.tplcnt;
1741 OPENSSL_free(gcb.gid_arr);
1742 OPENSSL_free(gcb.tuplcnt_arr);
1743 OPENSSL_free(gcb.ksid_arr);