mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-16 22:01:11 +00:00
Allocate memory for RSA key
This commit is contained in:
@@ -103,6 +103,9 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int years) {
|
|||||||
} else {
|
} else {
|
||||||
x = *x509p;
|
x = *x509p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((rsa = RSA_new()) == NULL)
|
||||||
|
goto err;
|
||||||
|
|
||||||
BIGNUM* bne = BN_new();
|
BIGNUM* bne = BN_new();
|
||||||
if (bne == NULL) {
|
if (bne == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user