diff options
author | Simo Sorce <simo@redhat.com> | 2023-03-09 11:45:02 -0500 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-03-15 08:42:59 +1100 |
commit | 3fc2b7d6b8f961144905330dfd4689f5bd515199 (patch) | |
tree | 6636f65738ba67a2c55d1941a0c7f3a4432e590d /apps | |
parent | f3c0dd4f0cd3bc282575a98181f8190d81189a78 (diff) |
Add a flag so finalised contexts are not reused
The EVP layer should not rely on the underlying low level code to
handle catching incorrect reuse of contexts.
Add a flag to mark a context as finalised as needed and then catch and
immediately error on Update/Final operations if called improperly.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/20375)
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions