Fix small documentation issues
authorNikolay Morozov <nmorozoff77@yandex.ru>
Thu, 14 May 2020 19:32:59 +0000 (22:32 +0300)
committerMatt Caswell <matt@openssl.org>
Mon, 18 May 2020 08:34:07 +0000 (09:34 +0100)
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11835)

doc/man3/ASN1_STRING_TABLE_add.pod
doc/man3/ASN1_STRING_length.pod
doc/man3/ASN1_STRING_new.pod
doc/man3/ISSUER_SIGN_TOOL_new.pod [deleted file]
doc/man3/X509_dup.pod
doc/man3/d2i_X509.pod
util/missingcrypto.txt

index f7b65fc..340a99e 100644 (file)
@@ -13,7 +13,7 @@ ASN1_STRING_TABLE_cleanup - ASN1_STRING_TABLE manipulation functions
 
  int ASN1_STRING_TABLE_add(int nid, long minsize, long maxsize,
                            unsigned long mask, unsigned long flags);
 
  int ASN1_STRING_TABLE_add(int nid, long minsize, long maxsize,
                            unsigned long mask, unsigned long flags);
- ASN1_STRING_TABLE * ASN1_STRING_TABLE_get(int nid);
+ ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid);
  void ASN1_STRING_TABLE_cleanup(void);
 
 =head1 DESCRIPTION
  void ASN1_STRING_TABLE_cleanup(void);
 
 =head1 DESCRIPTION
index ae03dd9..5d974fd 100644 (file)
@@ -11,10 +11,10 @@ ASN1_STRING_to_UTF8 - ASN1_STRING utility functions
  #include <openssl/asn1.h>
 
  int ASN1_STRING_length(ASN1_STRING *x);
  #include <openssl/asn1.h>
 
  int ASN1_STRING_length(ASN1_STRING *x);
- const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x);
- unsigned char * ASN1_STRING_data(ASN1_STRING *x);
+ const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
+ unsigned char *ASN1_STRING_data(ASN1_STRING *x);
 
 
- ASN1_STRING * ASN1_STRING_dup(const ASN1_STRING *a);
+ ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *a);
 
  int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b);
 
 
  int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b);
 
index 581d3f6..83f6aaa 100644 (file)
@@ -9,8 +9,8 @@ ASN1_STRING allocation functions
 
  #include <openssl/asn1.h>
 
 
  #include <openssl/asn1.h>
 
- ASN1_STRING * ASN1_STRING_new(void);
- ASN1_STRING * ASN1_STRING_type_new(int type);
+ ASN1_STRING *ASN1_STRING_new(void);
+ ASN1_STRING *ASN1_STRING_type_new(int type);
  void ASN1_STRING_free(ASN1_STRING *a);
 
 =head1 DESCRIPTION
  void ASN1_STRING_free(ASN1_STRING *a);
 
 =head1 DESCRIPTION
diff --git a/doc/man3/ISSUER_SIGN_TOOL_new.pod b/doc/man3/ISSUER_SIGN_TOOL_new.pod
deleted file mode 100644 (file)
index 4fb1f70..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-=pod
-
-=head1 NAME
-
-ISSUER_SIGN_TOOL_new, ISSUER_SIGN_TOOL_free,ISSUER_SIGN_TOOL_it,
-d2i_ISSUER_SIGN_TOOL, i2d_ISSUER_SIGN_TOOL
-
-=head1 SYNOPSIS
-
-=for openssl generic
-
- #include <openssl/x509v3.h>
-
- extern const ISSUER_SIGN_TOOL_it;
-
- ISSUER_SIGN_TOOL *ISSUER_SIGN_TOOL_new(void);
- void ISSUER_SIGN_TOOL_free(ISSUER_SIGN_TOOL *v);
-
- ISSUER_SIGN_TOOL *d2i_ISSUER_SIGN_TOOL(ISSUER_SIGN_TOOL **a, const unsigned char **pp, long length);
- int i2d_ISSUER_SIGN_TOOL(const ISSUER_SIGN_TOOL *a, unsigned char **pp);
-
-=head1 DESCRIPTION
-
-The ISSUER_SIGN_TOOL_new() function returns a new ISSUER_SIGN_TOOL.
-
-ISSUER_SIGN_TOOL_free() frees up a single ISSUER_SIGN_TOOL object.
-
-=head1 RETURN VALUES
-
-ISSUER_SIGN_TOOL_new() returns a newly created ISSUER_SIGN_TOOL or NULL if the call fails.
-
-ISSUER_SIGN_TOOL_free() does not return values.
-
-d2i_ISSUER_SIGN_TOOL() and i2d_ISSUER_SIGN_TOOL() decode and encode an B<ISSUER_SIGN_TOOL>
-structure. They otherwise follow the conventions of other ASN.1 functions such as d2i_X509().
-
-=head1 HISTORY
-
-The ISSUER_SIGN_TOOL_up_ref(), ISSUER_SIGN_TOOL_lock() and ISSUER_SIGN_TOOL_unlock()
-functions were added in OpenSSL 3.0.
-
-=head1 COPYRIGHT
-
-Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
-
-Licensed under the Apache License 2.0 (the "License").  You may not use
-this file except in compliance with the License.  You can obtain a copy
-in the file LICENSE in the source distribution or at
-L<https://www.openssl.org/source/license.html>.
-
-=cut
index 16c9935..a92d820 100644 (file)
@@ -81,7 +81,11 @@ IPAddressOrRange_free,
 IPAddressOrRange_new,
 IPAddressRange_free,
 IPAddressRange_new,
 IPAddressOrRange_new,
 IPAddressRange_free,
 IPAddressRange_new,
+ISSUER_SIGN_TOOL_free,
+ISSUER_SIGN_TOOL_it,
+ISSUER_SIGN_TOOL_new,
 ISSUING_DIST_POINT_free,
 ISSUING_DIST_POINT_free,
+ISSUING_DIST_POINT_it,
 ISSUING_DIST_POINT_new,
 NAME_CONSTRAINTS_free,
 NAME_CONSTRAINTS_new,
 ISSUING_DIST_POINT_new,
 NAME_CONSTRAINTS_free,
 NAME_CONSTRAINTS_new,
@@ -252,6 +256,7 @@ TS_TST_INFO_new,
 USERNOTICE_free,
 USERNOTICE_new,
 X509_ALGOR_free,
 USERNOTICE_free,
 USERNOTICE_new,
 X509_ALGOR_free,
+X509_ALGOR_it,
 X509_ALGOR_new,
 X509_ATTRIBUTE_dup,
 X509_ATTRIBUTE_free,
 X509_ALGOR_new,
 X509_ATTRIBUTE_dup,
 X509_ATTRIBUTE_free,
index 03548b2..4dea774 100644 (file)
@@ -75,6 +75,7 @@ d2i_IPAddressChoice,
 d2i_IPAddressFamily,
 d2i_IPAddressOrRange,
 d2i_IPAddressRange,
 d2i_IPAddressFamily,
 d2i_IPAddressOrRange,
 d2i_IPAddressRange,
+d2i_ISSUER_SIGN_TOOL,
 d2i_ISSUING_DIST_POINT,
 d2i_NAMING_AUTHORITY,
 d2i_NETSCAPE_CERT_SEQUENCE,
 d2i_ISSUING_DIST_POINT,
 d2i_NAMING_AUTHORITY,
 d2i_NETSCAPE_CERT_SEQUENCE,
@@ -267,6 +268,7 @@ i2d_IPAddressChoice,
 i2d_IPAddressFamily,
 i2d_IPAddressOrRange,
 i2d_IPAddressRange,
 i2d_IPAddressFamily,
 i2d_IPAddressOrRange,
 i2d_IPAddressRange,
+i2d_ISSUER_SIGN_TOOL,
 i2d_ISSUING_DIST_POINT,
 i2d_NAMING_AUTHORITY,
 i2d_NETSCAPE_CERT_SEQUENCE,
 i2d_ISSUING_DIST_POINT,
 i2d_NAMING_AUTHORITY,
 i2d_NETSCAPE_CERT_SEQUENCE,
index 3473a86..6fba947 100644 (file)
@@ -738,7 +738,6 @@ IPAddressChoice_it(3)
 IPAddressFamily_it(3)
 IPAddressOrRange_it(3)
 IPAddressRange_it(3)
 IPAddressFamily_it(3)
 IPAddressOrRange_it(3)
 IPAddressRange_it(3)
-ISSUING_DIST_POINT_it(3)
 LONG_it(3)
 MD2_options(3)
 MD4_Transform(3)
 LONG_it(3)
 MD2_options(3)
 MD4_Transform(3)
@@ -1315,7 +1314,6 @@ X509V3_set_ctx(3)
 X509V3_set_nconf(3)
 X509V3_string_free(3)
 X509_ALGORS_it(3)
 X509V3_set_nconf(3)
 X509V3_string_free(3)
 X509_ALGORS_it(3)
-X509_ALGOR_it(3)
 X509_ATTRIBUTE_count(3)
 X509_ATTRIBUTE_create(3)
 X509_ATTRIBUTE_create_by_NID(3)
 X509_ATTRIBUTE_count(3)
 X509_ATTRIBUTE_create(3)
 X509_ATTRIBUTE_create_by_NID(3)