mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-01 15:25:35 +00:00
Allocate memory for RSA key
This commit is contained in:
parent
637c4f6923
commit
1ed34ff95d
@ -103,6 +103,9 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int years) {
|
||||
} else {
|
||||
x = *x509p;
|
||||
}
|
||||
|
||||
if ((rsa = RSA_new()) == NULL)
|
||||
goto err;
|
||||
|
||||
BIGNUM* bne = BN_new();
|
||||
if (bne == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user