=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/apps.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/openssl/apps.c 2014/08/27 15:51:41 1.3 --- src/usr.bin/openssl/apps.c 2014/08/28 13:37:41 1.4 *************** *** 1,4 **** ! /* $OpenBSD: apps.c,v 1.3 2014/08/27 15:51:41 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing * --- 1,4 ---- ! /* $OpenBSD: apps.c,v 1.4 2014/08/28 13:37:41 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing * *************** *** 2277,2282 **** --- 2277,2283 ---- continue; if (opt->type == OPTION_ARG || + opt->type == OPTION_ARG_FORMAT || opt->type == OPTION_ARG_INT) { if (++i >= argc) { fprintf(stderr, *************** *** 2289,2294 **** --- 2290,2299 ---- switch (opt->type) { case OPTION_ARG: *opt->opt.arg = argv[i]; + break; + + case OPTION_ARG_FORMAT: + *opt->opt.value = str2fmt(argv[i]); break; case OPTION_ARG_INT: