Lines Matching defs:ext
25 #include "ext.h"
180 ext_t *ext;
223 ext = &extensions[cert->ext[j]];
224 switch (ext->type) {
227 if ((!ext->optional) && (ext->arg == NULL)) {
229 ext->ln);
235 key = &keys[ext->attr.key];
248 if ((!ext->optional) && (ext->arg == NULL)) {
250 ext->ln);
256 ext->type, ext->ln);
301 ext_t *ext;
393 ext = ext_get_by_opt(cur_opt);
394 ext->arg = strdup(optarg);
493 ext = &extensions[cert->ext[j]];
496 CHECK_OID(ext_nid, ext->oid);
504 switch (ext->type) {
506 if (ext->optional && ext->arg == NULL) {
511 assert(ext->arg != NULL);
512 nvctr = atoi(ext->arg);
518 if (ext->arg == NULL) {
519 if (ext->optional) {
528 if (!sha_file(hash_alg, ext->arg, md)) {
530 ext->arg);
540 EXT_CRIT, keys[ext->attr.key].key));
544 ext->type, cert->cn);