Adapt to OpenSSL 1.1.0
[libisds.git] / client / hotp_generator
blob3e75c35402f90f5f053c932aace2097fda66139a
1 #!/usr/bin/perl
2 use warnings;
3 use strict;
5 use Authen::OATH;
7 if ($#ARGV != 1) {
8 print "Usage: hotp_generator SECRET COUNTER\n";
9 exit 1;
12 print Authen::OATH->new()->hotp(@ARGV[0..1]), "\n";