diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2016-02-15 20:55:36 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2016-02-15 20:55:36 +0300 |
commit | 4d14d0eb5555adec369d797cd4968c01c1e25cee (patch) | |
tree | e0e0bfe5a8c47c4fc8cb18ce394ebdea0341e291 /gost_crypt.c | |
parent | 56c5e3414135c9443739db3b2b1409c3be265a50 (diff) | |
download | gost-engine-4d14d0eb5555adec369d797cd4968c01c1e25cee.zip gost-engine-4d14d0eb5555adec369d797cd4968c01c1e25cee.tar.gz gost-engine-4d14d0eb5555adec369d797cd4968c01c1e25cee.tar.bz2 |
Fix Visual Studio compliance
Diffstat (limited to 'gost_crypt.c')
-rw-r--r-- | gost_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gost_crypt.c b/gost_crypt.c index 680406f..259939d 100644 --- a/gost_crypt.c +++ b/gost_crypt.c @@ -365,12 +365,12 @@ static void gost_cnt_next(void *ctx, unsigned char *iv, unsigned char *buf) int gost_cipher_do_cbc(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) { - OPENSSL_assert(inl % 8 == 0); unsigned char b[8]; const unsigned char *in_ptr = in; unsigned char *out_ptr = out; int i; struct ossl_gost_cipher_ctx *c = ctx->cipher_data; + OPENSSL_assert(inl % 8 == 0); if (ctx->encrypt) { while (inl > 0) { for (i = 0; i < 8; i++) { |