1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

crypt: use hard-wired cipher block sizes consistently

This commit is contained in:
Kamil Dudka
2012-09-11 09:33:34 +02:00
parent bfbb5a4dc7
commit 5d567faecc
6 changed files with 11 additions and 19 deletions

View File

@@ -103,7 +103,7 @@ int _libssh2_cipher_init(_libssh2_cipher_ctx * h,
int _libssh2_cipher_crypt(_libssh2_cipher_ctx * ctx,
_libssh2_cipher_type(algo),
int encrypt, unsigned char *block);
int encrypt, unsigned char *block, size_t blocksize);
int _libssh2_pub_priv_keyfile(LIBSSH2_SESSION *session,
unsigned char **method,