Re: openssl-users Digest, Vol 63, Issue 35

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: openssl-users Digest, Vol 63, Issue 35

Clay Shields
Thank you! That was the issue.

Clay

> On Feb 21, 2020, at 7:54 AM, [hidden email] wrote:
>
> Message: 5
> Date: Fri, 21 Feb 2020 22:51:51 +1000
> From: Dr Paul Dale <[hidden email]>
> To: openssl-users <[hidden email]>
> Subject: Re: CRYPTO_secure_malloc_init() fails without error message
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="utf-8"
>
>> CRYPTO_secure_malloc_init(OPENSSL_MIN_HEAP_SIZE, OPENSSL_MIN_HEAP_SIZE);
>
> I?d strongly suggest not passing the same value in the second position.  This parameter sets the minimum block size that can be allocated in the secure heap.  The init call returns an error in this situation.  Do this instead: CRYPTO_secure_malloc_init(OPENSSL_MIN_HEAP_SIZE, 16);
>
>
>
> Pauli
> --
> Dr Paul Dale | Distinguished Architect | Cryptographic Foundations
> Phone +61 7 3031 7217
> Oracle Australia
>