mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
12 lines
181 B
Perl
12 lines
181 B
Perl
#!/usr/local/bin/perl
|
|
|
|
use ExtUtils::testlib;
|
|
|
|
use SSLeay;
|
|
|
|
for (7 .. 7926)
|
|
{
|
|
my $num = SSLeay::BN::dec2bn($_);
|
|
print "$_ is ".($num->is_prime ? 'prime' : 'composite'), "\n";
|
|
}
|