X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_keyexpimp.c;h=eb1033110c1cf7fcc8a4d8d5e297f3fe68b2e0dd;hb=b5613a2844470fd983cc3681633681a02ef6b44e;hp=e4af4180944cae514cbe334b6b99d85d04c7cea7;hpb=8c81c6fde1485fc27f88b4ffbcd8217a294c2215;p=openssl-gost%2Fengine.git diff --git a/gost_keyexpimp.c b/gost_keyexpimp.c index e4af418..eb10331 100644 --- a/gost_keyexpimp.c +++ b/gost_keyexpimp.c @@ -364,7 +364,6 @@ static int magma_wrap_do(EVP_CIPHER_CTX *ctx, unsigned char *out, return gost_kimp15(cctx->wrapped, cctx->wrap_count, NID_magma_ctr, cctx->key+GOSTKEYLEN, NID_magma_mac, cctx->key, cctx->iv, 4, out) > 0 ? GOSTKEYLEN : 0; } - return 1; } static int kuznyechik_wrap_init(EVP_CIPHER_CTX *ctx, const unsigned char *key,