X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=compat.h;h=29a2ad3270ef71d159ba39f2de337b5a9cd4f630;hb=e0816ed2014bad0e5293cafcce2c07a66a4f1cb0;hp=91afcf5125f5de72417b972c3fa01d001b5a8e9c;hpb=eb01b80247de3fa3848d58d7f2816aff8f396630;p=openssl-gost%2Fengine.git diff --git a/compat.h b/compat.h index 91afcf5..29a2ad3 100644 --- a/compat.h +++ b/compat.h @@ -252,6 +252,11 @@ static inline int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize) return 1; } +static int EVP_MD_meth_get_result_size(const EVP_MD *md) +{ + return md->md_size; +} + static inline int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize) { md->block_size = blocksize;