X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbn%2Fbn_lib.c;h=df79d6e3380d38259c0d3c91dfcffd18345740e0;hp=5d62d88e8b603ed4ad06c4becbfb45e7e0a8d8c2;hb=dd8dec69b825c9fdafc26a200961702d850496b5;hpb=ce052b6c3b18d4ab5f74990d82d09827a6014823 diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index 5d62d88e8b..df79d6e338 100644 --- a/crypto/bn/bn_lib.c +++ b/crypto/bn/bn_lib.c @@ -341,6 +341,11 @@ void BN_CTX_free(BN_CTX *c) Free(c); } +/* This is an internal function that should not be used in applications. + * It ensures that 'b' has enough room for a 'bits' bit number. It is + * mostly used by the various BIGNUM routines. If there is an error, + * NULL is returned. if not, 'b' is returned. + */ BIGNUM *bn_expand2(BIGNUM *b, int words) { BN_ULONG *A,*a;