X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2FBN_CTX_start.pod;h=dfcefe1a88767fcb40868e6025eeb311a2ad0822;hb=c1497b4d19fd6796469d2a3521eec5ad583e923f;hp=3e1032375f44f651899e7a29f226b7ceea659263;hpb=9b141126d4b6f0636bc047e81b846c193ae26611;p=oweals%2Fopenssl.git diff --git a/doc/crypto/BN_CTX_start.pod b/doc/crypto/BN_CTX_start.pod index 3e1032375f..dfcefe1a88 100644 --- a/doc/crypto/BN_CTX_start.pod +++ b/doc/crypto/BN_CTX_start.pod @@ -17,7 +17,8 @@ BN_CTX_start, BN_CTX_get, BN_CTX_end - use temporary BIGNUM variables =head1 DESCRIPTION These functions are used to obtain temporary B variables from -a B in order to save the overhead of repeatedly creating and +a B (which can been created by using L) +in order to save the overhead of repeatedly creating and freeing Bs in functions that are called from inside a loop. A function must call BN_CTX_start() first. Then, BN_CTX_get() may be @@ -36,7 +37,9 @@ BN_CTX_start() and BN_CTX_end() return no values. BN_CTX_get() returns a pointer to the B, or B on error. Once BN_CTX_get() has failed, the subsequent calls will return B as well, so it is sufficient to check the return value of the last -BN_CTX_get() call. +BN_CTX_get() call. In case of an error, an error code is set, which +can be obtained by L. + =head1 SEE ALSO