From 3ba4dac67a63c2d2589d46095d989b301cd62650 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Thu, 23 Mar 2017 13:04:52 -0400 Subject: [PATCH] Look for comma before - in POD pages [skip ci] Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3021) --- doc/man3/ASN1_INTEGER_get_int64.pod | 3 ++- doc/man3/CMS_add0_cert.pod | 3 ++- doc/man3/CMS_get0_SignerInfos.pod | 2 +- doc/man3/SSL_SESSION_get_time.pod | 2 +- doc/man3/SSL_SESSION_has_ticket.pod | 2 +- doc/man3/SSL_library_init.pod | 2 +- doc/man3/X509_digest.pod | 2 +- util/find-doc-nits | 1 + 8 files changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/man3/ASN1_INTEGER_get_int64.pod b/doc/man3/ASN1_INTEGER_get_int64.pod index 6fa1428c42..f61268d6ac 100644 --- a/doc/man3/ASN1_INTEGER_get_int64.pod +++ b/doc/man3/ASN1_INTEGER_get_int64.pod @@ -3,7 +3,8 @@ =head1 NAME ASN1_INTEGER_get_uint64, ASN1_INTEGER_set_uint64, -ASN1_INTEGER_get_int64, ASN1_INTEGER_get, ASN1_INTEGER_set_int64, ASN1_INTEGER_set, BN_to_ASN1_INTEGER, ASN1_INTEGER_to_BN, ASN1_ENUMERATED_get_int64, ASN1_ENUMERATED_get, ASN1_ENUMERATED_set_int64, ASN1_ENUMERATED_set, BN_to_ASN1_ENUMERATED, ASN1_ENUMERATED_to_BN, - ASN.1 INTEGER and ENUMERATED utilities +ASN1_INTEGER_get_int64, ASN1_INTEGER_get, ASN1_INTEGER_set_int64, ASN1_INTEGER_set, BN_to_ASN1_INTEGER, ASN1_INTEGER_to_BN, ASN1_ENUMERATED_get_int64, ASN1_ENUMERATED_get, ASN1_ENUMERATED_set_int64, ASN1_ENUMERATED_set, BN_to_ASN1_ENUMERATED, ASN1_ENUMERATED_to_BN +- ASN.1 INTEGER and ENUMERATED utilities =head1 SYNOPSIS diff --git a/doc/man3/CMS_add0_cert.pod b/doc/man3/CMS_add0_cert.pod index 5b0cc2a25c..a5be002de4 100644 --- a/doc/man3/CMS_add0_cert.pod +++ b/doc/man3/CMS_add0_cert.pod @@ -2,7 +2,8 @@ =head1 NAME -CMS_add0_cert, CMS_add1_cert, CMS_get1_certs, CMS_add0_crl, CMS_add1_crl, CMS_get1_crls, - CMS certificate and CRL utility functions +CMS_add0_cert, CMS_add1_cert, CMS_get1_certs, CMS_add0_crl, CMS_add1_crl, CMS_get1_crls +- CMS certificate and CRL utility functions =head1 SYNOPSIS diff --git a/doc/man3/CMS_get0_SignerInfos.pod b/doc/man3/CMS_get0_SignerInfos.pod index c8071591f3..e5532c96f4 100644 --- a/doc/man3/CMS_get0_SignerInfos.pod +++ b/doc/man3/CMS_get0_SignerInfos.pod @@ -4,7 +4,7 @@ CMS_SignerInfo_set1_signer_cert, CMS_get0_SignerInfos, CMS_SignerInfo_get0_signer_id, -CMS_SignerInfo_get0_signature, CMS_SignerInfo_cert_cmp, +CMS_SignerInfo_get0_signature, CMS_SignerInfo_cert_cmp - CMS signedData signer functions =head1 SYNOPSIS diff --git a/doc/man3/SSL_SESSION_get_time.pod b/doc/man3/SSL_SESSION_get_time.pod index 1702aa6fb5..ca08937eef 100644 --- a/doc/man3/SSL_SESSION_get_time.pod +++ b/doc/man3/SSL_SESSION_get_time.pod @@ -4,7 +4,7 @@ SSL_SESSION_get_time, SSL_SESSION_set_time, SSL_SESSION_get_timeout, SSL_SESSION_set_timeout -SSL_get_time, SSL_set_time, SSL_get_timeout, SSL_set_timeout, +SSL_get_time, SSL_set_time, SSL_get_timeout, SSL_set_timeout - retrieve and manipulate session time and timeout settings =head1 SYNOPSIS diff --git a/doc/man3/SSL_SESSION_has_ticket.pod b/doc/man3/SSL_SESSION_has_ticket.pod index dd3ae12b5d..a84440b5ab 100644 --- a/doc/man3/SSL_SESSION_has_ticket.pod +++ b/doc/man3/SSL_SESSION_has_ticket.pod @@ -3,7 +3,7 @@ =head1 NAME SSL_SESSION_get0_ticket, -SSL_SESSION_has_ticket, SSL_SESSION_get_ticket_lifetime_hint, +SSL_SESSION_has_ticket, SSL_SESSION_get_ticket_lifetime_hint - get details about the ticket associated with a session =head1 SYNOPSIS diff --git a/doc/man3/SSL_library_init.pod b/doc/man3/SSL_library_init.pod index 1f130673cb..85768a1028 100644 --- a/doc/man3/SSL_library_init.pod +++ b/doc/man3/SSL_library_init.pod @@ -2,7 +2,7 @@ =head1 NAME -SSL_library_init, OpenSSL_add_ssl_algorithms, +SSL_library_init, OpenSSL_add_ssl_algorithms - initialize SSL library by registering algorithms =head1 SYNOPSIS diff --git a/doc/man3/X509_digest.pod b/doc/man3/X509_digest.pod index 07cfda4908..6f78a5cbb1 100644 --- a/doc/man3/X509_digest.pod +++ b/doc/man3/X509_digest.pod @@ -6,7 +6,7 @@ X509_digest, X509_CRL_digest, X509_pubkey_digest, X509_NAME_digest, X509_REQ_digest -PKCS7_ISSUER_AND_SERIAL_digest, +PKCS7_ISSUER_AND_SERIAL_digest - get digest of various objects =head1 SYNOPSIS diff --git a/util/find-doc-nits b/util/find-doc-nits index cd2d32e04a..f14e36ed4a 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -59,6 +59,7 @@ sub name_synopsis() return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms; my $tmp = $1; $tmp =~ tr/\n/ /; + print "$id trailing comma before - in NAME\n" if $tmp =~ /, *-/; $tmp =~ s/-.*//g; $tmp =~ s/,//g; -- 2.25.1