summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/RSA_get_ex_new_index.pod
diff options
context:
space:
mode:
authorjim <>2014-05-04 22:26:33 +0000
committerjim <>2014-05-04 22:26:33 +0000
commitcc8925bff081ec36ac69be8b3681bff98f5d07da (patch)
treec61ab0faf9a25b5fa4c1daeb8248a7e8deff66d2 /src/lib/libcrypto/doc/RSA_get_ex_new_index.pod
parente591b58894a6d621ba00c14da39becb1a0d16335 (diff)
downloadopenbsd-cc8925bff081ec36ac69be8b3681bff98f5d07da.tar.gz
openbsd-cc8925bff081ec36ac69be8b3681bff98f5d07da.tar.bz2
openbsd-cc8925bff081ec36ac69be8b3681bff98f5d07da.zip
Improve line wrapping for lines exceeding 80 chars.
ok jmc@
Diffstat (limited to 'src/lib/libcrypto/doc/RSA_get_ex_new_index.pod')
-rw-r--r--src/lib/libcrypto/doc/RSA_get_ex_new_index.pod24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/lib/libcrypto/doc/RSA_get_ex_new_index.pod b/src/lib/libcrypto/doc/RSA_get_ex_new_index.pod
index 7d0fd1f91d..b1ac1167dd 100644
--- a/src/lib/libcrypto/doc/RSA_get_ex_new_index.pod
+++ b/src/lib/libcrypto/doc/RSA_get_ex_new_index.pod
@@ -2,7 +2,8 @@
2 2
3=head1 NAME 3=head1 NAME
4 4
5RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data - add application specific data to RSA structures 5RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data - add application
6specific data to RSA structures
6 7
7=head1 SYNOPSIS 8=head1 SYNOPSIS
8 9
@@ -78,26 +79,27 @@ corresponding parameters when B<RSA_get_ex_new_index()> was called.
78B<dup_func()> is called when a structure is being copied. Pointers to the 79B<dup_func()> is called when a structure is being copied. Pointers to the
79destination and source B<CRYPTO_EX_DATA> structures are passed in the B<to> and 80destination and source B<CRYPTO_EX_DATA> structures are passed in the B<to> and
80B<from> parameters respectively. The B<from_d> parameter is passed a pointer to 81B<from> parameters respectively. The B<from_d> parameter is passed a pointer to
81the source application data when the function is called, when the function returns 82the source application data when the function is called, when the function
82the value is copied to the destination: the application can thus modify the data 83returns the value is copied to the destination: the application can thus modify
83pointed to by B<from_d> and have different values in the source and destination. 84the data pointed to by B<from_d> and have different values in the source and
84The B<idx>, B<argl> and B<argp> parameters are the same as those in B<new_func()> 85destination. The B<idx>, B<argl> and B<argp> parameters are the same as those
85and B<free_func()>. 86in B<new_func()> and B<free_func()>.
86 87
87=head1 RETURN VALUES 88=head1 RETURN VALUES
88 89
89B<RSA_get_ex_new_index()> returns a new index or -1 on failure (note 0 is a valid 90B<RSA_get_ex_new_index()> returns a new index or -1 on failure (note 0 is a
90index value). 91valid index value).
91 92
92B<RSA_set_ex_data()> returns 1 on success or 0 on failure. 93B<RSA_set_ex_data()> returns 1 on success or 0 on failure.
93 94
94B<RSA_get_ex_data()> returns the application data or 0 on failure. 0 may also 95B<RSA_get_ex_data()> returns the application data or 0 on failure. 0 may also
95be valid application data but currently it can only fail if given an invalid B<idx> 96be valid application data but currently it can only fail if given an invalid
96parameter. 97B<idx> parameter.
97 98
98B<new_func()> and B<dup_func()> should return 0 for failure and 1 for success. 99B<new_func()> and B<dup_func()> should return 0 for failure and 1 for success.
99 100
100On failure an error code can be obtained from L<ERR_get_error(3)|ERR_get_error(3)>. 101On failure an error code can be obtained from
102L<ERR_get_error(3)|ERR_get_error(3)>.
101 103
102=head1 BUGS 104=head1 BUGS
103 105