From: Richard Levitte Date: Wed, 8 Jan 2020 10:08:06 +0000 (+0100) Subject: DOC: Make EVP_SignInit.pod conform with man-pages(7) X-Git-Tag: OpenSSL_1_1_1e~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=53418932416594fda43b58ff64d455457b05c969;p=oweals%2Fopenssl.git DOC: Make EVP_SignInit.pod conform with man-pages(7) Reviewed-by: Nicola Tuveri (cherry picked from commit 03d65ca2095777cf6314ad813eb7de5779c9b93d) Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/11232) --- diff --git a/doc/man3/EVP_SignInit.pod b/doc/man3/EVP_SignInit.pod index 65df4acfba..becfed4ad3 100644 --- a/doc/man3/EVP_SignInit.pod +++ b/doc/man3/EVP_SignInit.pod @@ -20,23 +20,23 @@ EVP_SignInit, EVP_SignInit_ex, EVP_SignUpdate, EVP_SignFinal The EVP signature routines are a high level interface to digital signatures. -EVP_SignInit_ex() sets up signing context B to use digest -B from ENGINE B. B must be created with +EVP_SignInit_ex() sets up signing context I to use digest +I from B I. I must be created with EVP_MD_CTX_new() before calling this function. -EVP_SignUpdate() hashes B bytes of data at B into the -signature context B. This function can be called several times on the -same B to include additional data. +EVP_SignUpdate() hashes I bytes of data at I into the +signature context I. This function can be called several times on the +same I to include additional data. -EVP_SignFinal() signs the data in B using the private key B and -places the signature in B. B must be at least C -bytes in size. B is an OUT parameter, and not used as an IN parameter. +EVP_SignFinal() signs the data in I using the private key I and +places the signature in I. I must be at least C +bytes in size. I is an OUT parameter, and not used as an IN parameter. The number of bytes of data written (i.e. the length of the signature) -will be written to the integer at B, at most C bytes +will be written to the integer at I, at most C bytes will be written. -EVP_SignInit() initializes a signing context B to use the default -implementation of digest B. +EVP_SignInit() initializes a signing context I to use the default +implementation of digest I. =head1 RETURN VALUES