From: Nicola Tuveri Date: Tue, 12 Jun 2018 01:27:28 +0000 (+0300) Subject: Deprecate DSA_sign_setup() in the documentation X-Git-Tag: OpenSSL_1_1_1-pre8~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8fe4c0b001f85c5a918c6a6d4687813ea3d2945f;p=oweals%2Fopenssl.git Deprecate DSA_sign_setup() in the documentation Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/6460) --- diff --git a/doc/man3/DSA_sign.pod b/doc/man3/DSA_sign.pod index 458e16a3c6..4ca7756db3 100644 --- a/doc/man3/DSA_sign.pod +++ b/doc/man3/DSA_sign.pod @@ -23,13 +23,12 @@ digest B using the private key B and places its ASN.1 DER encoding at B. The length of the signature is places in *B. B must point to DSA_size(B) bytes of memory. -DSA_sign_setup() may be used to precompute part of the signing -operation in case signature generation is time-critical. It expects -B to contain DSA parameters. It places the precomputed values -in newly allocated Bs at *B and *B, after freeing -the old ones unless *B and *B are NULL. These values may -be passed to DSA_sign() in Bkinv> and Br>. -B is a pre-allocated B or NULL. +DSA_sign_setup() is defined only for backward binary compatibility and +should not be used. +Since OpenSSL 1.1.0 the DSA type is opaque and the output of +DSA_sign_setup() cannot be used anyway: calling this function will only +cause overhead, and does not affect the actual signature +(pre-)computation. DSA_verify() verifies that the signature B of size B matches a given message digest B of size B.