[openssl] master update

Richard Levitte levitte at openssl.org
Mon Jun 22 21:50:43 UTC 2020


The branch master has been updated
       via  3fd16304f4b33814ea481fe965d79675a5f4f2c3 (commit)
       via  c4de5d22aa189d357aec18e4a744e3747bd545af (commit)
       via  e3ce33b3b5ab773bbf4156074d9b37b33ac3744d (commit)
      from  b0d5c1cb0773588dca69875e122fac75252ccdf6 (commit)


- Log -----------------------------------------------------------------
commit 3fd16304f4b33814ea481fe965d79675a5f4f2c3
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Jun 18 12:37:26 2020 +0200

    Missing documentation missing, let's note that down
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/12125)

commit c4de5d22aa189d357aec18e4a744e3747bd545af
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Jun 17 22:04:53 2020 +0200

    util/find-doc-nits: Modernise printem()
    
    It wasn't up to date with the new variables used to track information
    on what's documented, what's in the .num files and what's in the
    "missing" files.
    
    Fixes #12117
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/12125)

commit e3ce33b3b5ab773bbf4156074d9b37b33ac3744d
Author: Richard Levitte <richard at levitte.org>
Date:   Fri Jun 12 10:38:34 2020 +0200

    util/find-doc-nits: Do not read "missing" files when -u is given
    
    Fixes #12117
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/12125)

-----------------------------------------------------------------------

Summary of changes:
 util/find-doc-nits     | 17 +++++------------
 util/missingcrypto.txt |  5 +++++
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/util/find-doc-nits b/util/find-doc-nits
index 0feb01e27c..a54d75458c 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -865,21 +865,14 @@ sub checkmacros {
 sub printem ($) {
     my $type = shift;
     my $count = 0;
-    my %seen;
-
-    foreach my $func ( grep { $_ eq $type } sort keys %state ) {
-        $func .= '(3)';         # We know they're all in section 3
-
-        # Skip functions known to be missing
-        next if $opt_v && defined $name_map{$func} && $name_map{$func} eq '';
 
-        # Skip known names
-        next if defined $name_map{$func} || defined $seen{$func};
+    foreach my $func ( grep { $state{$_} eq $type } sort keys %state ) {
+        next if defined $name_map{$func}
+            || defined $missing{$func};
 
         err("$type:", "function $func undocumented")
             if $opt_d || $opt_e;
         $count++;
-        $seen{$func} = 1;
     }
     err("# $count lib$type names are not documented")
         if $count > 0;
@@ -906,7 +899,7 @@ sub collectnames {
         my $name_sec = "$name($section)";
         if ( !defined $name_map{$name_sec} ) {
             $name_map{$name_sec} = $filename;
-            $state{$name_sec} =
+            $state{$name_sec} //=
                 ( $filename =~ /\/internal\// ? 'internal' : 'public' )
                 if $is_generic;
         } elsif ( $filename eq $name_map{$name_sec} ) {
@@ -1087,7 +1080,7 @@ if ( $opt_o ) {
     loadmissing('util/missingmacro111.txt', 'crypto');
     loadmissing('util/missingcrypto111.txt', 'crypto');
     loadmissing('util/missingssl111.txt', 'ssl');
-} else {
+} elsif ( !$opt_u ) {
     loadmissing('util/missingmacro.txt', 'crypto');
     loadmissing('util/missingcrypto.txt', 'crypto');
     loadmissing('util/missingssl.txt', 'ssl');
diff --git a/util/missingcrypto.txt b/util/missingcrypto.txt
index bc276a8c4a..0034a711d1 100644
--- a/util/missingcrypto.txt
+++ b/util/missingcrypto.txt
@@ -516,6 +516,7 @@ ECPARAMETERS_it(3)
 ECPKPARAMETERS_it(3)
 ECParameters_print(3)
 ECParameters_print_fp(3)
+EC_GROUP_get_field_type(3)
 EC_GROUP_get_mont_data(3)
 EC_KEY_METHOD_free(3)
 EC_KEY_METHOD_get_compute_key(3)
@@ -601,6 +602,7 @@ EVP_KEYMGMT-DSA(7)
 EVP_KEYMGMT-RSA(7)
 EVP_KEYMGMT-X25519(7)
 EVP_KEYMGMT-X448(7)
+EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name(3)
 EVP_SIGNATURE-DSA(7)
 EVP_SIGNATURE-ECDSA(7)
 EVP_SIGNATURE-ED25519(7)
@@ -909,6 +911,9 @@ OPENSSL_strnlen(3)
 OPENSSL_uni2asc(3)
 OPENSSL_uni2utf8(3)
 OPENSSL_utf82uni(3)
+OSSL_CRMF_CERTID_dup(3)
+OSSL_PARAM_modified(3)
+OSSL_PARAM_set_all_unmodified(3)
 OSSL_SERIALIZER-DH(7)
 OSSL_SERIALIZER-DSA(7)
 OSSL_SERIALIZER-EC(7)


More information about the openssl-commits mailing list