Some warning fixes.

This commit is contained in:
Zhi Guan
2018-01-07 12:02:24 +08:00
parent 86e1fc9266
commit 61f6b7ea98
4 changed files with 2 additions and 6 deletions

View File

@@ -77,8 +77,6 @@ int main(int argc, char **argv)
params.option_size = 0;
params.otp_digits = 6;
OpenSSL_add_all_algorithms();
if (!OTP_generate(&params, event, sizeof(event), &otp, key, sizeof(key))) {
printf("OTP_generate() failed\n");
return -1;