Look for comma before - in POD pages
authorRich Salz <rsalz@openssl.org>
Thu, 23 Mar 2017 17:04:52 +0000 (13:04 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 23 Mar 2017 17:18:31 +0000 (13:18 -0400)
[skip ci]

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3021)

doc/man3/ASN1_INTEGER_get_int64.pod
doc/man3/CMS_add0_cert.pod
doc/man3/CMS_get0_SignerInfos.pod
doc/man3/SSL_SESSION_get_time.pod
doc/man3/SSL_SESSION_has_ticket.pod
doc/man3/SSL_library_init.pod
doc/man3/X509_digest.pod
util/find-doc-nits

index 6fa1428c4212edd3cf179c5610329b4e2c113d7b..f61268d6ac39765f1d72729a9d971bdd9cc440ff 100644 (file)
@@ -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
 
index 5b0cc2a25ca14e1a566fd7a0928b56f34d1fe866..a5be002de4fb3962cb78ca6d324b4a4433853437 100644 (file)
@@ -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
 
index c8071591f3f3679446227d5ce37bea2be2f9b59c..e5532c96f4407c14139f5fe61fa8aafea710eb8d 100644 (file)
@@ -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
index 1702aa6fb568af15b19fd53a8fe310b06f97aab7..ca08937eef1d794f8dfc56efa6916edab762c0e9 100644 (file)
@@ -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
index dd3ae12b5d217001093ba0fe67763d9364aa9077..a84440b5ab3dfb8781c17bdae8a506f0492ef2f8 100644 (file)
@@ -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
index 1f130673cba55d396ca12f8ede1d6dc8e6e4aa1a..85768a1028b3819e44a5791123695aafb28f3d03 100644 (file)
@@ -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
index 07cfda4908975e9b7733df523dd8fa499d16a0ac..6f78a5cbb1b4769cc4cbc067b6bd765533be84e6 100644 (file)
@@ -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
index cd2d32e04a0dc4720c7db7ea918b2ffca70972fc..f14e36ed4a5a1afec54f852449b0b6176fe0668d 100755 (executable)
@@ -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;