summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-25 11:35:03 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-25 11:35:03 +0000
commit2e4063ff6a5cbfbe9776cadc72b874589faa2a84 (patch)
tree6b746f81539807ae0108c43ed0c8206aa18861a9 /lib
parent50d47a8da9bd675786396730e9241dcc658ae0c0 (diff)
Use strict and warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/bn/bn_prime.pl7
1 files changed, 6 insertions, 1 deletions
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;