diff options
author | Job Snijders <job@cvs.openbsd.org> | 2023-04-28 17:59:54 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2023-04-28 17:59:54 +0000 |
commit | 4e6c4eea23637f3b609b787b8493acf33a58d77d (patch) | |
tree | 2ba16ab51f4148af1b8692bb4bf1e40b358d97e2 /distrib/i386 | |
parent | 4b4fd1ea6e6dedff91a4966ff198e019f5f1ee82 (diff) |
Remove preservation and use of cached DER/BER encodings in the d2i/i2d paths
A long time ago a workflow was envisioned for X509, X509_CRL, and X509_REQ
structures in which only fields modified after deserialization would need to
be re-encoded upon serialization.
Unfortunately, over the years, authors would sometimes forget to add code in
setter functions to trigger invalidation of previously cached DER encodings.
The presence of stale versions of structures can lead to very hard-to-debug
issues and cause immense sorrow.
Fully removing the concept of caching DER encodings ensures stale versions
of structures can never rear their ugly heads again.
OK tb@ jsing@
Diffstat (limited to 'distrib/i386')
0 files changed, 0 insertions, 0 deletions