diff options
author | jim <> | 2014-05-04 22:26:33 +0000 |
---|---|---|
committer | jim <> | 2014-05-04 22:26:33 +0000 |
commit | cc8925bff081ec36ac69be8b3681bff98f5d07da (patch) | |
tree | c61ab0faf9a25b5fa4c1daeb8248a7e8deff66d2 /src/lib/libcrypto/doc/RSA_get_ex_new_index.pod | |
parent | e591b58894a6d621ba00c14da39becb1a0d16335 (diff) | |
download | openbsd-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.pod | 24 |
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 | ||
5 | RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data - add application specific data to RSA structures | 5 | RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data - add application |
6 | specific 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. | |||
78 | B<dup_func()> is called when a structure is being copied. Pointers to the | 79 | B<dup_func()> is called when a structure is being copied. Pointers to the |
79 | destination and source B<CRYPTO_EX_DATA> structures are passed in the B<to> and | 80 | destination and source B<CRYPTO_EX_DATA> structures are passed in the B<to> and |
80 | B<from> parameters respectively. The B<from_d> parameter is passed a pointer to | 81 | B<from> parameters respectively. The B<from_d> parameter is passed a pointer to |
81 | the source application data when the function is called, when the function returns | 82 | the source application data when the function is called, when the function |
82 | the value is copied to the destination: the application can thus modify the data | 83 | returns the value is copied to the destination: the application can thus modify |
83 | pointed to by B<from_d> and have different values in the source and destination. | 84 | the data pointed to by B<from_d> and have different values in the source and |
84 | The B<idx>, B<argl> and B<argp> parameters are the same as those in B<new_func()> | 85 | destination. The B<idx>, B<argl> and B<argp> parameters are the same as those |
85 | and B<free_func()>. | 86 | in B<new_func()> and B<free_func()>. |
86 | 87 | ||
87 | =head1 RETURN VALUES | 88 | =head1 RETURN VALUES |
88 | 89 | ||
89 | B<RSA_get_ex_new_index()> returns a new index or -1 on failure (note 0 is a valid | 90 | B<RSA_get_ex_new_index()> returns a new index or -1 on failure (note 0 is a |
90 | index value). | 91 | valid index value). |
91 | 92 | ||
92 | B<RSA_set_ex_data()> returns 1 on success or 0 on failure. | 93 | B<RSA_set_ex_data()> returns 1 on success or 0 on failure. |
93 | 94 | ||
94 | B<RSA_get_ex_data()> returns the application data or 0 on failure. 0 may also | 95 | B<RSA_get_ex_data()> returns the application data or 0 on failure. 0 may also |
95 | be valid application data but currently it can only fail if given an invalid B<idx> | 96 | be valid application data but currently it can only fail if given an invalid |
96 | parameter. | 97 | B<idx> parameter. |
97 | 98 | ||
98 | B<new_func()> and B<dup_func()> should return 0 for failure and 1 for success. | 99 | B<new_func()> and B<dup_func()> should return 0 for failure and 1 for success. |
99 | 100 | ||
100 | On failure an error code can be obtained from L<ERR_get_error(3)|ERR_get_error(3)>. | 101 | On failure an error code can be obtained from |
102 | L<ERR_get_error(3)|ERR_get_error(3)>. | ||
101 | 103 | ||
102 | =head1 BUGS | 104 | =head1 BUGS |
103 | 105 | ||