X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_crypt.c;h=c7c8caaeaa70b96166f2d9762a7e804f176b98f1;hb=39020b5190e34e53ac0204c49e5480824c6a248a;hp=d375a3dc89dd1b237900acf719f1fd371b72afd7;hpb=e2d3705da37abfa9edf270b52178c8c66abc51e7;p=openssl-gost%2Fengine.git diff --git a/gost_crypt.c b/gost_crypt.c index d375a3d..c7c8caa 100644 --- a/gost_crypt.c +++ b/gost_crypt.c @@ -493,7 +493,6 @@ int gost_cipher_do_cbc(EVP_CIPHER_CTX *ctx, unsigned char *out, int i; struct ossl_gost_cipher_ctx *c = EVP_CIPHER_CTX_get_cipher_data(ctx); unsigned char *iv = EVP_CIPHER_CTX_iv_noconst(ctx); - OPENSSL_assert(inl % 8 == 0); if (EVP_CIPHER_CTX_encrypting(ctx)) { while (inl > 0) {