From 0a741ac7e42db811df0097733917db45dc05779e Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 28 Dec 2014 15:48:52 +0000 Subject: Provide a mechanism for option parsing to return the number of arguments that it has consumed. This allows for the handling of multiple unnamed arguments, including lists of filenames. --- src/usr.bin/openssl/prime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/prime.c') diff --git a/src/usr.bin/openssl/prime.c b/src/usr.bin/openssl/prime.c index d9237f9070..fca3701632 100644 --- a/src/usr.bin/openssl/prime.c +++ b/src/usr.bin/openssl/prime.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prime.c,v 1.3 2014/10/13 02:46:14 bcook Exp $ */ +/* $OpenBSD: prime.c,v 1.4 2014/12/28 15:48:52 jsing Exp $ */ /* ==================================================================== * Copyright (c) 2004 The OpenSSL Project. All rights reserved. * @@ -123,7 +123,7 @@ prime_main(int argc, char **argv) /* Default iterations for Miller-Rabin probabilistic primality test. */ prime_config.checks = 20; - if (options_parse(argc, argv, prime_options, &prime) != 0) { + if (options_parse(argc, argv, prime_options, &prime, NULL) != 0) { prime_usage(); return (1); } -- cgit v1.2.3-55-g6feb