Return to x509.c CVS log | Up to [local] / src / usr.bin / openssl |
version 1.32, 2023/04/09 17:28:52 | version 1.33, 2023/04/14 06:47:07 | ||
---|---|---|---|
|
|
||
if ((pkey = X509_REQ_get0_pubkey(req)) == NULL) | if ((pkey = X509_REQ_get0_pubkey(req)) == NULL) | ||
goto end; | goto end; | ||
if (!X509_set_pubkey(x, pkey)) { | if (!X509_set_pubkey(x, pkey)) | ||
EVP_PKEY_free(pkey); | |||
goto end; | goto end; | ||
} | |||
} else { | } else { | ||
x = load_cert(bio_err, cfg.infile, cfg.informat, NULL, | x = load_cert(bio_err, cfg.infile, cfg.informat, NULL, | ||
"Certificate"); | "Certificate"); |