From: tb Date: Sat, 25 Mar 2023 11:35:02 +0000 (+0000) Subject: Use strict and warnings X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=142972e3ab170f76d0a172312983f1d356cf3491;p=openbsd Use strict and warnings --- diff --git a/lib/libcrypto/bn/bn_prime.pl b/lib/libcrypto/bn/bn_prime.pl index 273e9580792..0e982fc0af4 100644 --- a/lib/libcrypto/bn/bn_prime.pl +++ b/lib/libcrypto/bn/bn_prime.pl @@ -1,5 +1,5 @@ #!/bin/perl -# $OpenBSD: bn_prime.pl,v 1.10 2023/03/25 11:28:55 tb Exp $ +# $OpenBSD: bn_prime.pl,v 1.11 2023/03/25 11:35:02 tb Exp $ # # Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) # All rights reserved. @@ -57,6 +57,11 @@ # copied and put under another distribution licence # [including the GNU Public Licence.] +use strict; +use warnings; + +my ($i, $num, $p, $s, @primes); + $num = 2048; $num = $ARGV[0] if $#ARGV >= 0;