X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FBN_CTX_new.pod;h=bbedbb17782cca05e60c14f3392e6cda78468262;hp=c94d8c610da5804de25a73d5b40327721cde09fb;hb=687403fb2486eec0502ccb36689d3f57e0a173aa;hpb=37e48b88adda9334fedf83e18f1bff72b4b9c8cf diff --git a/doc/crypto/BN_CTX_new.pod b/doc/crypto/BN_CTX_new.pod index c94d8c610d..bbedbb1778 100644 --- a/doc/crypto/BN_CTX_new.pod +++ b/doc/crypto/BN_CTX_new.pod @@ -10,9 +10,12 @@ BN_CTX_new, BN_CTX_init, BN_CTX_free - allocate and free BN_CTX structures BN_CTX *BN_CTX_new(void); + void BN_CTX_free(BN_CTX *c); + +Deprecated: + void BN_CTX_init(BN_CTX *c); - void BN_CTX_free(BN_CTX *c); =head1 DESCRIPTION @@ -22,8 +25,7 @@ is rather expensive when used in conjunction with repeated subroutine calls, the B structure is used. BN_CTX_new() allocates and initializes a B -structure. BN_CTX_init() initializes an existing uninitialized -B. +structure. BN_CTX_free() frees the components of the B, and if it was created by BN_CTX_new(), also the structure itself. @@ -31,6 +33,8 @@ If L has been used on the B, L must be called before the B may be freed by BN_CTX_free(). +BN_CTX_init() (deprecated) initializes an existing uninitialized B. +This should not be used for new programs. Use BN_CTX_new() instead. =head1 RETURN VALUES @@ -42,7 +46,7 @@ BN_CTX_init() and BN_CTX_free() have no return values. =head1 SEE ALSO -L, L, L, +L, L, L, L =head1 HISTORY