\r
try:\r
if args.MonotonicCountStr.upper().startswith('0X'):\r
- args.MonotonicCountValue = (long)(args.MonotonicCountStr, 16)\r
+ args.MonotonicCountValue = int(args.MonotonicCountStr, 16)\r
else:\r
- args.MonotonicCountValue = (long)(args.MonotonicCountStr)\r
+ args.MonotonicCountValue = int(args.MonotonicCountStr)\r
except:\r
- args.MonotonicCountValue = (long)(0)\r
+ args.MonotonicCountValue = int(0)\r
\r
if args.Encode:\r
#\r
sys.exit(1)\r
else:\r
if args.SignatureSizeStr.upper().startswith('0X'):\r
- SignatureSize = (long)(args.SignatureSizeStr, 16)\r
+ SignatureSize = int(args.SignatureSizeStr, 16)\r
else:\r
- SignatureSize = (long)(args.SignatureSizeStr)\r
+ SignatureSize = int(args.SignatureSizeStr)\r
if SignatureSize < 0:\r
print("ERROR: The value of option --signature-size can't be set to negative value!")\r
sys.exit(1)\r