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 6fa1428..f61268d 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 5b0cc2a..a5be002 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 c807159..e5532c9 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 1702aa6..ca08937 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 dd3ae12..a84440b 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 1f13067..85768a1 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 07cfda4..6f78a5c 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 cd2d32e..f14e36e 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;