Hello OpenSSL Team,

During memory leak hunting on iOS platform I noticed, that function 
X509_REQ_to_X509 generates memory. Bellow you can found code snapshot.

As well I would like to know do you plan to fix this memory leak? If yes, then 
when?

Best regards,
Ramunas

X509_REQ *req = NULL;

EVP_PKEY *key = EVP_PKEY_new();
// Setup key ...

X509_REQ_set_pubkey(req,key);
X509_REQ_sign(req,key,EVP_sha256())
X509 *cert = X509_REQ_to_X509(req, 365, key); // Memory leak here!!!

// Free the memory.
-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4433
Please log in as guest with password guest if prompted

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to