> 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 ins
Unfortunately that didn’t seem to be it. Updating my code to verify that I am
root and running it:
Output:
The effective user id is 0
The real user id is 0
failed to init openssl secure heap the error may be (null)
Code:
#include
#include
#include
#include
#include
#include
#include
#
Are you running as root? If not, that's likely to be the problem.
Hi,
I am working on some server code that uses openssl libcrypto for AES encryption
of files. Perhaps I am doing the wrong thing or the right thing the wrong way,
but I am trying to use the OpenSSL secure heap for key storage. I created a
small program that follow what I was trying to do, bel