Use 0 not -1 (since type is size_t) for finalisation argument to do_cipher:
the NULL value for the input buffer is sufficient to notice this case.
Showing
想要评论请 注册 或 登录
the NULL value for the input buffer is sufficient to notice this case.