summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_err.c
diff options
context:
space:
mode:
authortb <>2024-05-09 14:20:57 +0000
committertb <>2024-05-09 14:20:57 +0000
commit3c613a01c3af9751e253c48c430ba1ad668fa6b2 (patch)
tree5dec512cb815406acdf03ff88810c657d5dd10c8 /src/lib/libcrypto/dsa/dsa_err.c
parentf2cb6d2279c2ba87b60ec55e26300f3ad60fb532 (diff)
downloadopenbsd-3c613a01c3af9751e253c48c430ba1ad668fa6b2.tar.gz
openbsd-3c613a01c3af9751e253c48c430ba1ad668fa6b2.tar.bz2
openbsd-3c613a01c3af9751e253c48c430ba1ad668fa6b2.zip
Clean up X509_to_X509_REQ()
Use better variable names. X509_REQ_new() sets the version to the only specified version, so there is no point to set it. Extract the subject name, then assign to make it more obvious that we error happens if the cert has a missing subject. Switch to X509_get0_pubkey() to avoid some strange dance with a strangely named variable to adjust the refcount. ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_err.c')
0 files changed, 0 insertions, 0 deletions