1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-04 01:23:21 +00:00

Addressed CodeQL issues

This commit is contained in:
Bryan Roe
2020-07-08 22:18:54 -07:00
parent e1377cd74f
commit c390676809
2 changed files with 2 additions and 2 deletions

View File

@@ -375,7 +375,7 @@ duk_ret_t ILibDuktape_RSA_Sign(duk_context *ctx)
unsigned long err = ERR_get_error();
char *reason = (char*)ERR_reason_error_string(err);
RSA_free(r);
return(ILibDuktape_Error(ctx, "RSA_sign() Error: (%d, %s)", err, reason));
return(ILibDuktape_Error(ctx, "RSA_sign() Error: (%lu, %s)", err, reason));
}
RSA_free(r);
return(1);