=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/apps.c,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/openssl/apps.c 2014/12/28 16:22:37 1.20 --- src/usr.bin/openssl/apps.c 2014/12/28 16:33:34 1.21 *************** *** 1,4 **** ! /* $OpenBSD: apps.c,v 1.20 2014/12/28 16:22:37 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing * --- 1,4 ---- ! /* $OpenBSD: apps.c,v 1.21 2014/12/28 16:33:34 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing * *************** *** 2288,2298 **** /* See if there is a matching option... */ for (j = 0; opts[j].name != NULL; j++) { ! opt = &opts[j]; ! if (strcmp(p, opt->name) == 0) break; } ! if (opts[j].name == NULL) goto unknown; if (opt->type == OPTION_ARG || --- 2288,2298 ---- /* See if there is a matching option... */ for (j = 0; opts[j].name != NULL; j++) { ! if (strcmp(p, opts[j].name) == 0) break; } ! opt = &opts[j]; ! if (opts->name == NULL && opts->type == 0) goto unknown; if (opt->type == OPTION_ARG ||