openssl-users Digest, Vol 63, Issue 35

Clay Shields clay at cs.georgetown.edu
Fri Feb 21 13:11:38 UTC 2020


Thank you! That was the issue. 

Clay

> On Feb 21, 2020, at 7:54 AM, openssl-users-request at openssl.org wrote:
> 
> Message: 5
> Date: Fri, 21 Feb 2020 22:51:51 +1000
> From: Dr Paul Dale <paul.dale at oracle.com>
> To: openssl-users <openssl-users at openssl.org>
> Subject: Re: CRYPTO_secure_malloc_init() fails without error message
> Message-ID: <9006F365-9206-490B-B3A4-F2814D77E9DF at oracle.com>
> 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
> 



More information about the openssl-users mailing list