diff options
Diffstat (limited to 'upstream/debian-unstable/man3/EVP_VerifyInit.3ssl')
-rw-r--r-- | upstream/debian-unstable/man3/EVP_VerifyInit.3ssl | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/upstream/debian-unstable/man3/EVP_VerifyInit.3ssl b/upstream/debian-unstable/man3/EVP_VerifyInit.3ssl index 55b9ed59..7982395e 100644 --- a/upstream/debian-unstable/man3/EVP_VerifyInit.3ssl +++ b/upstream/debian-unstable/man3/EVP_VerifyInit.3ssl @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "EVP_VERIFYINIT 3SSL" -.TH EVP_VERIFYINIT 3SSL 2024-02-03 3.1.5 OpenSSL +.TH EVP_VERIFYINIT 3SSL 2024-04-04 3.2.2-dev OpenSSL .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -119,11 +119,18 @@ transparent to the algorithm used and much more flexible. .PP The call to \fBEVP_VerifyFinal()\fR internally finalizes a copy of the digest context. This means that calls to \fBEVP_VerifyUpdate()\fR and \fBEVP_VerifyFinal()\fR can be called -later to digest and verify additional data. +later to digest and verify additional data. Applications may disable this +behavior by setting the EVP_MD_CTX_FLAG_FINALISE context flag via +\&\fBEVP_MD_CTX_set_flags\fR\|(3). .PP Since only a copy of the digest context is ever finalized the context must be cleaned up after use by calling \fBEVP_MD_CTX_free()\fR or a memory leak will occur. +.PP +Note that not all providers support continuation, in case the selected +provider does not allow to duplicate contexts \fBEVP_VerifyFinal()\fR will +finalize the digest context and attempting to process additional data via +\&\fBEVP_VerifyUpdate()\fR will result in an error. .SH BUGS .IX Header "BUGS" Older versions of this documentation wrongly stated that calls to @@ -150,7 +157,7 @@ The previous two bugs are fixed in the newer EVP_DigestVerify*() function. The function \fBEVP_VerifyFinal_ex()\fR was added in OpenSSL 3.0. .SH COPYRIGHT .IX Header "COPYRIGHT" -Copyright 2000\-2022 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2000\-2023 The OpenSSL Project Authors. All Rights Reserved. .PP Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy |