doc: fix spelling of TYPE_get_ex_new_index
authorBenjamin Kaduk <bkaduk@akamai.com>
Fri, 17 Jan 2020 19:15:59 +0000 (11:15 -0800)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 13 Mar 2020 21:20:14 +0000 (14:20 -0700)
The generated macros are TYPE_get_ex_new_index() (to match
CRYPTO_get_ex_new_index()), not TYPE_get_new_ex_index(), even though
the latter spelling seems more natural.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10943)

doc/man3/BIO_get_ex_new_index.pod

index 0bacb2e0cb67c6a4f9d1e490e05acc92f1d50e65..e7fa5a1e163e1aa4900d5f469e433f9bb93324d1 100644 (file)
@@ -53,7 +53,7 @@ L<CRYPTO_get_ex_new_index(3)>.
 These functions handle application-specific data for OpenSSL data
 structures.
 
 These functions handle application-specific data for OpenSSL data
 structures.
 
-TYPE_get_new_ex_index() is a macro that calls CRYPTO_get_ex_new_index()
+TYPE_get_ex_new_index() is a macro that calls CRYPTO_get_ex_new_index()
 with the correct B<index> value.
 
 TYPE_set_ex_data() is a function that calls CRYPTO_set_ex_data() with
 with the correct B<index> value.
 
 TYPE_set_ex_data() is a function that calls CRYPTO_set_ex_data() with
@@ -74,7 +74,7 @@ there are no backward compatibility concerns.
 
 =head1 RETURN VALUES
 
 
 =head1 RETURN VALUES
 
-TYPE_get_new_ex_index() returns a new index on success or -1 on error.
+TYPE_get_ex_new_index() returns a new index on success or -1 on error.
 
 TYPE_set_ex_data() returns 1 on success or 0 on error.
 
 
 TYPE_set_ex_data() returns 1 on success or 0 on error.