Greetings!

It seems to be not enough.
openssl is built with "shared" option

the config is
========
openssl_conf = openssl_def

[openssl_def]
engines = engine_section
[engine_section]
gost = gost_section
[gost_section]
engine_id = gost
default_algorithms = ALL
CRYPT_PARAMS = id-Gost28147-89-CryptoPro-A-ParamSet
========

The cmd is
$ echo test | ./openssl dgst -md_gost94 -engine gost

with OPENSSL_DEBUG_MEMORY=on we get the output

=======
(stdin)= f11da04312cafd27ce157eb685862f70b78e62552d792e57624184a87230de90
[15:48:36]  3231 file=buffer.c, line=194, thread=3082786444, number=9,
address=0A02CA88
[15:48:36]  3227 file=buffer.c, line=194, thread=3082786444,
number=16, address=0A02C900
[15:48:36]  3237 file=pmeth_lib.c, line=202, thread=3082786444,
number=108, address=0A02CD58
[15:48:36]  3232 file=ameth_lib.c, line=290, thread=3082786444,
number=96, address=0A02CAD0
[15:48:36]  3233 file=buffer.c, line=194, thread=3082786444,
number=18, address=0A02CB70
[15:48:36]  3226 file=ameth_lib.c, line=290, thread=3082786444,
number=96, address=0A02C898
[15:48:36]  3229 file=ameth_lib.c, line=290, thread=3082786444,
number=96, address=0A02C998
[15:48:36]  3230 file=buffer.c, line=194, thread=3082786444,
number=18, address=0A02CA38
[15:48:36]  3236 file=pmeth_lib.c, line=202, thread=3082786444,
number=108, address=0A02CCB0
[15:48:36]  3235 file=pmeth_lib.c, line=202, thread=3082786444,
number=108, address=0A02CC08
[15:48:36]  3228 file=buffer.c, line=194, thread=3082786444, number=7,
address=0A02C950
[15:48:36]  3234 file=buffer.c, line=194, thread=3082786444, number=9,
address=0A02CBC0
689 bytes leaked in 12 chunks
=======

Thank you!

On Sat, Sep 1, 2012 at 5:06 PM, Stephen Henson via RT <r...@openssl.org> wrote:
> I've finally had time to look into this. Please see if this fixes the issue:
>
> http://cvs.openssl.org/chngview?cn=22789
>
> Steve.
> --
> Dr Stephen N. Henson. OpenSSL project core developer.
> Commercial tech support now available see: http://www.openssl.org
>



-- 
SY, Dmitry Belyavsky
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to