diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-31 06:46:58 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-31 06:46:58 +0000 |
commit | ecb618331c40c05f9b7c644bd74d2ab04c49f0c3 (patch) | |
tree | 77128c86648c6b7c3c0adec0ecadfb8da6f43d08 /usr.sbin/smtpd/parse.y | |
parent | 497cd28d09f7161d77ae7a1d6354256ece101f65 (diff) |
ca_revoke() gets called two ways. Directly from ca_opt() with keyname
set to the cert to revoke, and indirectly from ca_create() with a
keyname set to NULL.
ca_create() sets REQ_EXT so avoid setting it in ca_revoke() when keyname
is NULL and the crl database is being initialised.
Avoids "REQ_EXT already set" when creating a CA error introduced
in rev 1.44 which set REQ_EXT unconditionally in ca_revoke().
Diffstat (limited to 'usr.sbin/smtpd/parse.y')
0 files changed, 0 insertions, 0 deletions