Fix cipher macros

This commit is contained in:
Dag-Erling Smørgrav 2015-10-04 07:19:28 +00:00 committed by des
parent cf02f33af7
commit aa4a92bac9

View file

@ -63,8 +63,8 @@ const cipher_algorithm *get_cipher_algorithm(const char *);
#define cipher_init(alg, ctx, mode, key, keylen) \
(alg)->init((ctx), (mode), (key), (keylen))
#define cipher_update(alg, ctx, in, len, out) \
(alg)->update((ctx), (buf), (in), (len), (out))
(alg)->update((ctx), (in), (len), (out))
#define cipher_finish(alg, ctx) \
(alg)->finish((buf), (ctx))
(alg)->finish((ctx))
#endif