Commit caef5bd0 authored by Axel Kenzo's avatar Axel Kenzo
Browse files

Исправлена ошибка с длиной хеш-кода для алгоритма nmac

No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
...@@ -496,6 +496,7 @@ ...@@ -496,6 +496,7 @@
ak_error_message( ak_error_null_pointer, __func__, "using null pointer to hash context" ); ak_error_message( ak_error_null_pointer, __func__, "using null pointer to hash context" );
return 0; return 0;
} }
if( hctx->nmac_second_hash_oid != NULL ) return 32;
return hctx->ctx.data.sctx.hsize; return hctx->ctx.data.sctx.hsize;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment