mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
9b86974e0c
L<foo|foo> is sub-optimal If the xref is the same as the title, which is what we do, then you only need L<foo>. This fixes all 1457 occurrences in 349 files. Approximately. (And pod used to need both.) Reviewed-by: Richard Levitte <levitte@openssl.org>
35 lines
633 B
Plaintext
35 lines
633 B
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
BN_copy, BN_dup - copy BIGNUMs
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
#include <openssl/bn.h>
|
|
|
|
BIGNUM *BN_copy(BIGNUM *to, const BIGNUM *from);
|
|
|
|
BIGNUM *BN_dup(const BIGNUM *from);
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
BN_copy() copies B<from> to B<to>. BN_dup() creates a new B<BIGNUM>
|
|
containing the value B<from>.
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
BN_copy() returns B<to> on success, NULL on error. BN_dup() returns
|
|
the new B<BIGNUM>, and NULL on error. The error codes can be obtained
|
|
by L<ERR_get_error(3)>.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<bn(3)>, L<ERR_get_error(3)>
|
|
|
|
=head1 HISTORY
|
|
|
|
BN_copy() and BN_dup() are available in all versions of SSLeay and OpenSSL.
|
|
|
|
=cut
|