diff options
author | Kenny Root <kroot@google.com> | 2015-06-11 00:52:40 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-06-11 01:06:01 +0300 |
commit | 3a9e1fba0e3bcf014caa2df143a70475068447dc (patch) | |
tree | f0eb990928686a372c7c7ad32f2a7b60bc900e48 /include/openssl/ex_data.h | |
parent | 2b23eaa478aa533a93dca93c33e51de07afcbf96 (diff) |
Correct various documentation typos
Some of the documentation had the right explanation but the incorrect
function names attached.
Change-Id: I7b479dae6d71a5ac7bc86df5a3890508c3b3d09f
Reviewed-on: https://boringssl-review.googlesource.com/5090
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/ex_data.h')
-rw-r--r-- | include/openssl/ex_data.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/openssl/ex_data.h b/include/openssl/ex_data.h index 2303eb42..c0d37731 100644 --- a/include/openssl/ex_data.h +++ b/include/openssl/ex_data.h @@ -134,7 +134,7 @@ typedef struct crypto_ex_data_st CRYPTO_EX_DATA; #if 0 /* Sample */ -/* |TYPE_get_ex_new_index| allocates a new index for |TYPE|. See the +/* TYPE_get_ex_new_index allocates a new index for |TYPE|. See the * descriptions of the callback typedefs for details of when they are * called. Any of the callback arguments may be NULL. The |argl| and |argp| * arguments are opaque values that are passed to the callbacks. It returns the @@ -146,11 +146,11 @@ OPENSSL_EXPORT int TYPE_get_ex_new_index(long argl, void *argp, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); -/* |TYPE_set_ex_data| sets an extra data pointer on |t|. The |index| argument +/* TYPE_set_ex_data sets an extra data pointer on |t|. The |index| argument * should have been returned from a previous call to |TYPE_get_ex_new_index|. */ OPENSSL_EXPORT int TYPE_set_ex_data(TYPE *t, int index, void *arg); -/* |TYPE_get_ex_data| returns an extra data pointer for |t|, or NULL if no such +/* TYPE_get_ex_data returns an extra data pointer for |t|, or NULL if no such * pointer exists. The |index| argument should have been returned from a * previous call to |TYPE_get_ex_new_index|. */ OPENSSL_EXPORT void *TYPE_get_ex_data(const TYPE *t, int index); |