]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-3.8-20221227
authorWietse Venema <wietse@porcupine.org>
Tue, 27 Dec 2022 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Mon, 2 Jan 2023 20:09:56 +0000 (15:09 -0500)
24 files changed:
postfix/HISTORY
postfix/Makefile.in
postfix/WISHLIST
postfix/html/ldap_table.5.html
postfix/html/mysql_table.5.html
postfix/html/pgsql_table.5.html
postfix/html/postconf.5.html
postfix/html/postscreen.8.html
postfix/man/man5/ldap_table.5
postfix/man/man5/mysql_table.5
postfix/man/man5/pgsql_table.5
postfix/man/man5/postconf.5
postfix/man/man8/postscreen.8
postfix/mantools/check-table-proto [new file with mode: 0755]
postfix/proto/ldap_table
postfix/proto/mysql_table
postfix/proto/pgsql_table
postfix/proto/postconf.proto
postfix/proto/stop.double-history
postfix/proto/stop.spell-cc
postfix/proto/stop.spell-history
postfix/src/global/mail_version.h
postfix/src/postscreen/postscreen.c
postfix/src/tls/tls_fprint.c

index d755d3492dfd2766b6b47f8870d73d28b23f4803..a08e80121ee5be92cc6807df19c02e9805110a6c 100644 (file)
@@ -26693,3 +26693,31 @@ Apologies for any names omitted.
        tls/tls_fprint.c evaluated its argument unconditionally;
        it should evaluate the argument only if there was no prior
        error. Found during code review. File: tls/tls_fprint.c.
+
+20221215
+
+       Foolproofing: postscreen segfault with postscreen_dnsbl_threshold
+       < 1. It should reject such input with a fatal error instead.
+       Discovered by Benny Pedersen. File: postscreen/postscreen.c.
+
+       Documentation: replaced instances of '.domain' in some
+       examples; clarified that bcc maps are indexed by envelope
+       address; lmtp_line_length_limit default wasn't updated to
+       998. File: proto/postconf.proto.
+
+20221227
+
+       Documentation: the mysql_table(5) manpage did not document
+       the tls_ciphers feature that was added in Postfix 2.11.
+       File: proto/mysql_table.
+
+       Cleanup: added a pre-release check that the parameter lists
+       in the proto/*_table documentation match the global/dict*.c
+       implementations. Files: Makefile.in, mantools/check-table-proto
+
+       Documentation: consistent xxxx_table formatting to make
+       parameter documentation easier to match against the
+       corresponding implementation. Files: proto/mysql_table,
+       proto/pgsql_table, proto/ldap_table.
+
+       Typofixes for changes made 20221207. File: tls/tls_fprint.c.
index 5bc7a7cb173a6e5e982b9e4fd669715f84971078..474e9b5ecf4eadf6f0014ed5534c620123881079 100644 (file)
@@ -117,7 +117,7 @@ manpages:
 # Some checks require a bin/postconf executable.
 pre-release-checks: typo-check missing-proxy-read-maps-check \
        postlink-check postfix-files-check check-spell-history \
-       check-double-history
+       check-double-history check-table-proto
 
 postfix-files-check:
        mantools/check-postfix-files | diff /dev/null -
@@ -155,6 +155,9 @@ check-spell-history:
 check-double-history:
        mantools/check-double-history | diff /dev/null -
 
+check-table-proto:
+       mantools/check-table-proto | diff /dev/null -
+
 # The build-time shlib_directory setting must take precedence over
 # the installed main.cf settings, otherwise we can't update an
 # installed system from dynamicmaps=yes<->dynamicmaps=no or from
index e923ba58c8bff56996cacea829007f5cb302e794..ffd9567d14da5dd39fcecc0a917391540c92e2fd 100644 (file)
@@ -80,11 +80,16 @@ Wish list:
        default_transport_maps? This would simplify configuration.
 
        Add a pointer to
+       https://fabianlee.org/2019/10/23/docker-running-a-postfix-container-for-testing-mail-during-development/
+       and https://github.com/docker-mailserver/docker-mailserver
+
+       Add a pointer to
+       https://github.com/tarickb/sasl-xoauth2 and/or
        http://mmogilvi.users.sourceforge.net/software/oauthbearer.html
        in documentation or on-line howtos.
 
-       Read http://mmogilvi.users.sourceforge.net/software/oauthbearer.html
-       and see how we can improve on the Postfix side.
+       Read the above links and see how we can improve usability on
+       the Postfix side.
 
        Add verp=+= to the qmgr "from=" logging. This is already
        implemented but not yet integrated.
index d35f5e1be05bdf304d0995a056696aacd599915b..e49a63c22ec68ff646b70fd26460df89101d6546 100644 (file)
@@ -648,11 +648,12 @@ LDAP_TABLE(5)                                                    LDAP_TABLE(5)
        be removed in a future Postfix version.
 
 <b>OTHER OBSOLETE FEATURES</b>
-       For backwards compatibility with the pre 2.2 LDAP clients,  <b>result_fil-</b>
-       <b>ter</b>  can  for  now  be  used  instead of <b>result_format</b>, when the latter
-       parameter is not also set.  The new name better reflects  the  function
-       of  the  parameter.  This  compatibility  interface may be removed in a
-       future release.
+       <b>result_filter (No default)</b>
+              For backwards compatibility  with  the  pre  2.2  LDAP  clients,
+              <b>result_filter</b> can for now be used instead of <b>result_format</b>, when
+              the latter parameter is not  also  set.   The  new  name  better
+              reflects  the  function  of  the  parameter.  This compatibility
+              interface may be removed in a future release.
 
 <b>SEE ALSO</b>
        <a href="postmap.1.html">postmap(1)</a>, Postfix lookup table manager
index a196c1ddc0ed3b177c6dcae579855ea72810700d..006e07995b2fa831a9e4831977d776ab8b8a3bbe 100644 (file)
@@ -60,7 +60,9 @@ MYSQL_TABLE(5)                                                  MYSQL_TABLE(5)
               TCP you have to specify
                   hosts = 127.0.0.1
 
-       <b>user, password</b>
+       <b>user</b>
+
+       <b>password</b>
               The  user name and password to log into the mysql server.  Exam-
               ple:
                   user = someone
@@ -252,6 +254,11 @@ MYSQL_TABLE(5)                                                  MYSQL_TABLE(5)
 
               This parameter is available with Postfix 2.11 and later.
 
+       <b>tls_ciphers</b>
+              The list of permissible ciphers for SSL encryption.
+
+              This parameter is available with Postfix 2.11 and later.
+
        <b>tls_verify_cert (default: no)</b>
               Verify  that  the  server's  name matches the common name in the
               certificate.
index 1acc494175e394ecd05c0c683a81942fb5189f9b..d0382c46e47fb93c4d490218ced5564c9418f873 100644 (file)
@@ -56,7 +56,9 @@ PGSQL_TABLE(5)                                                  PGSQL_TABLE(5)
               matically closed after being idle for about 1  minute,  and  are
               re-opened as necessary.
 
-       <b>user, password</b>
+       <b>user</b>
+
+       <b>password</b>
               The  user name and password to log into the pgsql server.  Exam-
               ple:
                   user = someone
index accd101b7e511bb0bcedbf12e35a3ea46b5a17da..6e263407987708f2858a7a3644749858afd3add0 100644 (file)
@@ -475,7 +475,7 @@ Examples:
 
 <pre>
 <a href="postconf.5.html#address_verify_sender">address_verify_sender</a> = &lt;&gt;
-<a href="postconf.5.html#address_verify_sender">address_verify_sender</a> = postmaster@my.domain
+<a href="postconf.5.html#address_verify_sender">address_verify_sender</a> = postmaster@<a href="postconf.5.html#mydomain">mydomain</a>
 </pre>
 
 <p>
@@ -4939,7 +4939,7 @@ and for receiving the initial remote LMTP server response. </p>
 </DD>
 
 <DT><b><a name="lmtp_line_length_limit">lmtp_line_length_limit</a>
-(default: 990)</b></DT><DD>
+(default: 998)</b></DT><DD>
 
 <p> The LMTP-specific version of the <a href="postconf.5.html#smtp_line_length_limit">smtp_line_length_limit</a>
 configuration parameter.  See there for details. </p>
@@ -9704,7 +9704,7 @@ This feature is available in Postfix 2.1 and later.
 
 <p>
 Optional BCC (blind carbon-copy) address lookup tables, indexed by
-recipient address.  The BCC address (multiple results are not
+envelope recipient address.  The BCC address (multiple results are not
 supported) is added when mail enters from outside of Postfix.
 </p>
 
@@ -10407,7 +10407,7 @@ in Postfix version 2.3.
 (default: empty)</b></DT><DD>
 
 <p> Optional BCC (blind carbon-copy) address lookup tables, indexed
-by sender address.  The BCC address (multiple results are not
+by envelope sender address.  The BCC address (multiple results are not
 supported) is added when mail enters from outside of Postfix.  </p>
 
 <p>
@@ -10500,9 +10500,9 @@ The table format and lookups are documented in <a href="canonical.5.html">canoni
 </p>
 
 <p>
-Example: you want to rewrite the SENDER address "user@ugly.domain"
-to "user@pretty.domain", while still being able to send mail to
-the RECIPIENT address "user@ugly.domain".
+Example: you want to rewrite the SENDER address "user@ugly.example"
+to "user@pretty.example", while still being able to send mail to
+the RECIPIENT address "user@ugly.example".
 </p>
 
 <p>
index c60e1134d0877a93922c0f9ffbf6b2a91c5716a6..1fc5361dcdc0d9772e3454d4552a2c9d64399f8d 100644 (file)
@@ -195,13 +195,13 @@ POSTSCREEN(8)                                                    POSTSCREEN(8)
               <a href="postconf.5.html#postscreen_dnsbl_threshold">postscreen_dnsbl_threshold</a> parameters).
 
        <b><a href="postconf.5.html#postscreen_dnsbl_reply_map">postscreen_dnsbl_reply_map</a> (empty)</b>
-              A  mapping from actual DNSBL domain name which includes a secret
-              password, to the DNSBL domain name that  postscreen  will  reply
-              with when it rejects mail.
+              A  mapping  from  an  actual  DNSBL domain name which includes a
+              secret password, to the DNSBL domain name that  postscreen  will
+              reply with when it rejects mail.
 
        <b><a href="postconf.5.html#postscreen_dnsbl_sites">postscreen_dnsbl_sites</a> (empty)</b>
-              Optional  list of DNS allow/denylist domains, filters and weight
-              factors.
+              Optional  list of patterns with DNS allow/denylist domains, fil-
+              ters and weight factors.
 
        <b><a href="postconf.5.html#postscreen_dnsbl_threshold">postscreen_dnsbl_threshold</a> (1)</b>
               The inclusive lower bound for blocking  a  remote  SMTP  client,
index 464f51795d77559f6a216c8b8d0e66835bbaf0af..660f2c581e5f89541f412a9f78cf45bcfc0cbd77 100644 (file)
@@ -701,6 +701,7 @@ for this form will be removed in a future Postfix version.
 .nf
 .ad
 .fi
+.IP "\fBresult_filter (No default)\fR"
 For backwards compatibility with the pre
 2.2 LDAP clients, \fBresult_filter\fR can for now be used instead
 of \fBresult_format\fR, when the latter parameter is not also set.
index 6c62b210a007432052e6000320e57a285fe904a4..2b01aca8cabe26c96c9d2dba4580124f89e1e80f 100644 (file)
@@ -76,7 +76,8 @@ localhost over TCP you have to specify
 .nf
     hosts = 127.0.0.1
 .fi
-.IP "\fBuser, password\fR"
+.IP "\fBuser\fR"
+.IP "\fBpassword\fR"
 The user name and password to log into the mysql server.
 Example:
 .nf
@@ -271,6 +272,10 @@ Directory containing X509 Certification Authority certificates
 in separate individual files.
 .sp
 This parameter is available with Postfix 2.11 and later.
+.IP "\fBtls_ciphers\fR"
+The list of permissible ciphers for SSL encryption.
+.sp
+This parameter is available with Postfix 2.11 and later.
 .IP "\fBtls_verify_cert (default: no)\fR"
 Verify that the server's name matches the common name in the
 certificate.
index a0ccddc3eb7419b2b9287bfe05fb1a7e8667ec80..00a2da3dca07debc8ab64907a6633fc7c9e66513 100644 (file)
@@ -71,7 +71,8 @@ Examples:
 The hosts are tried in random order. The connections are
 automatically closed after being idle for about 1 minute,
 and are re\-opened as necessary.
-.IP "\fBuser, password\fR"
+.IP "\fBuser\fR"
+.IP "\fBpassword\fR"
 The user name and password to log into the pgsql server.
 Example:
 .nf
index b2f5fd49388780f606aec764afbb59be16e5996d..8ce1bacf18b2e793c5ebeb452f0675e00468d57c 100644 (file)
@@ -287,7 +287,7 @@ Examples:
 .na
 .ft C
 address_verify_sender = <>
-address_verify_sender = postmaster@my.domain
+address_verify_sender = postmaster@mydomain
 .fi
 .ad
 .ft R
@@ -3113,7 +3113,7 @@ and for receiving the initial remote LMTP server response.
 .PP
 Time units: s (seconds), m (minutes), h (hours), d (days), w
 (weeks).  The default time unit is s (seconds).
-.SH lmtp_line_length_limit (default: 990)
+.SH lmtp_line_length_limit (default: 998)
 The LMTP\-specific version of the smtp_line_length_limit
 configuration parameter.  See there for details.
 .PP
@@ -6089,7 +6089,7 @@ receive_override_options = no_address_mappings
 This feature is available in Postfix 2.1 and later.
 .SH recipient_bcc_maps (default: empty)
 Optional BCC (blind carbon\-copy) address lookup tables, indexed by
-recipient address.  The BCC address (multiple results are not
+envelope recipient address.  The BCC address (multiple results are not
 supported) is added when mail enters from outside of Postfix.
 .PP
 Specify zero or more "type:name" lookup tables, separated by
@@ -6594,7 +6594,7 @@ This parameter should not be used. It was replaced by sender_dependent_relayhost
 in Postfix version 2.3.
 .SH sender_bcc_maps (default: empty)
 Optional BCC (blind carbon\-copy) address lookup tables, indexed
-by sender address.  The BCC address (multiple results are not
+by envelope sender address.  The BCC address (multiple results are not
 supported) is added when mail enters from outside of Postfix.
 .PP
 Specify zero or more "type:name" lookup tables, separated by
@@ -6658,9 +6658,9 @@ Optional address mapping lookup tables for envelope and header
 sender addresses.
 The table format and lookups are documented in \fBcanonical\fR(5).
 .PP
-Example: you want to rewrite the SENDER address "user@ugly.domain"
-to "user@pretty.domain", while still being able to send mail to
-the RECIPIENT address "user@ugly.domain".
+Example: you want to rewrite the SENDER address "user@ugly.example"
+to "user@pretty.example", while still being able to send mail to
+the RECIPIENT address "user@ugly.example".
 .PP
 Note: $sender_canonical_maps is processed before $canonical_maps.
 .PP
index dbe24811ad81e2bf6f0ee6657875864f1cb478a9..0687a5e148adde16d380b473f7d32fd70cb211ac 100644 (file)
@@ -218,11 +218,12 @@ DNSBL score is equal to or greater than a threshold (as defined
 with the postscreen_dnsbl_sites and postscreen_dnsbl_threshold
 parameters).
 .IP "\fBpostscreen_dnsbl_reply_map (empty)\fR"
-A mapping from actual DNSBL domain name which includes a secret
+A mapping from an actual DNSBL domain name which includes a secret
 password, to the DNSBL domain name that postscreen will reply with
 when it rejects mail.
 .IP "\fBpostscreen_dnsbl_sites (empty)\fR"
-Optional list of DNS allow/denylist domains, filters and weight
+Optional list of patterns with DNS allow/denylist domains, filters
+and weight
 factors.
 .IP "\fBpostscreen_dnsbl_threshold (1)\fR"
 The inclusive lower bound for blocking a remote SMTP client, based on
diff --git a/postfix/mantools/check-table-proto b/postfix/mantools/check-table-proto
new file mode 100755 (executable)
index 0000000..8fcb951
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+# Reports database configuration settings without proto/xxx_table documentation
+
+LANG=C; export LANG
+LC_ALL=C; export LC_ALL
+
+trap 'rm -f from-source.tmp from-doc.tmp 2>/dev/null' 0 1 2 3 15
+
+# For each database type, extract parameter names from its postconf
+# include file, and compare the result against a list of names from
+# the corresponding proto/xxx_table file.
+
+# Force a failure if the pcf*suffixes.h files do not exist. Avoid using
+# bash-specific shell features.
+for map in `(ls src/postconf/pcf*suffixes.h || kill $$) | 
+       sed 's;src/postconf/pcf_\(.*\)_suffixes.h$;\1;'`
+do
+    # Extract parameter names from source code.
+    tr -cd '[A-zA-z_0-9\12]' < src/postconf/pcf_${map}_suffixes.h | 
+       sort > from-source.tmp
+    # Extract parameter names from documentation.
+    sed -n '/^# *\.IP *"*\\fB\([a-zA-Z_0-9][a-zA-Z_0-9]*\).*/{
+       s//\1/
+       p
+    }' proto/${map}_table | sort > from-doc.tmp
+    cmp -s from-source.tmp from-doc.tmp || {
+       echo Settings in global/dict_${map}.c and proto/${map}_table differ.
+       diff from-source.tmp from-doc.tmp
+    }
+done
+
index fe3626a90209b17e287946175a15d27f8b1a1b1f..be4c014d0f01e3897eae9348625fc0659c1a9224 100644 (file)
 # OTHER OBSOLETE FEATURES
 # .ad
 # .fi
+# .IP "\fBresult_filter (No default)\fR"
 #      For backwards compatibility with the pre
 #      2.2 LDAP clients, \fBresult_filter\fR can for now be used instead
 #      of \fBresult_format\fR, when the latter parameter is not also set.
index 6870acf40af231f7030dedfaee83084ad7b26323..a018e58b5634e2d4ace3d013a954ce886b7cfd7d 100644 (file)
@@ -66,7 +66,8 @@
 # .nf
 #          hosts = 127.0.0.1
 # .fi
-# .IP "\fBuser, password\fR"
+# .IP "\fBuser\fR"
+# .IP "\fBpassword\fR"
 #      The user name and password to log into the mysql server.
 #      Example:
 # .nf
 #      in separate individual files.
 # .sp
 #      This parameter is available with Postfix 2.11 and later.
+# .IP "\fBtls_ciphers\fR"
+#      The list of permissible ciphers for SSL encryption.
+# .sp
+#      This parameter is available with Postfix 2.11 and later.
 # .IP "\fBtls_verify_cert (default: no)\fR"
 #      Verify that the server's name matches the common name in the
 #      certificate.
index 05cd2c6cfe0eedbf9fdc9e208bf59c2f071088ff..0a2897a1ba4900aa6ed147fcc6cf65b621582a42 100644 (file)
@@ -61,7 +61,8 @@
 #      The hosts are tried in random order. The connections are
 #      automatically closed after being idle for about 1 minute,
 #      and are re-opened as necessary.
-# .IP "\fBuser, password\fR"
+# .IP "\fBuser\fR"
+# .IP "\fBpassword\fR"
 #      The user name and password to log into the pgsql server.
 #      Example:
 # .nf
index 07dca9f78ff2626de92ee6f934604b70c0e200b7..24d474b92f0b0939b0d60ae7705ef4656964f079 100644 (file)
@@ -436,7 +436,7 @@ Examples:
 
 <pre>
 address_verify_sender = &lt;&gt;
-address_verify_sender = postmaster@my.domain
+address_verify_sender = postmaster@mydomain
 </pre>
 
 <p>
@@ -3607,7 +3607,7 @@ This feature is available in Postfix 2.1 and later.
 
 <p>
 Optional BCC (blind carbon-copy) address lookup tables, indexed by
-recipient address.  The BCC address (multiple results are not
+envelope recipient address.  The BCC address (multiple results are not
 supported) is added when mail enters from outside of Postfix.
 </p>
 
@@ -3955,7 +3955,7 @@ that rewrite into a form that ends in the "@" null domain.  </p>
 %PARAM sender_bcc_maps
 
 <p> Optional BCC (blind carbon-copy) address lookup tables, indexed
-by sender address.  The BCC address (multiple results are not
+by envelope sender address.  The BCC address (multiple results are not
 supported) is added when mail enters from outside of Postfix.  </p>
 
 <p>
@@ -4029,9 +4029,9 @@ The table format and lookups are documented in canonical(5).
 </p>
 
 <p>
-Example: you want to rewrite the SENDER address "user@ugly.domain"
-to "user@pretty.domain", while still being able to send mail to
-the RECIPIENT address "user@ugly.domain".
+Example: you want to rewrite the SENDER address "user@ugly.example"
+to "user@pretty.example", while still being able to send mail to
+the RECIPIENT address "user@ugly.example".
 </p>
 
 <p>
@@ -10902,7 +10902,7 @@ parameter.  See there for details. </p>
 
 <p> This feature is available in Postfix 2.3 and later. </p>
 
-%PARAM lmtp_line_length_limit 990
+%PARAM lmtp_line_length_limit 998
 
 <p> The LMTP-specific version of the smtp_line_length_limit
 configuration parameter.  See there for details. </p>
index 10cf9aa88baea7b28df40f83ae58e4393ba20c6f..775a72d1ee93fafaea23971354060125c786e9f4 100644 (file)
@@ -9,3 +9,5 @@
  src global mail_dict c src postalias postalias c 
  src postmap postmap c 
  manpage File postqueue postqueue c 
+ Fix by Viktor Dukhovni Files tls tls h tls tls_dane c 
+ Discovered by Benny Pedersen File postscreen postscreen c 
index ea6ad0038b188d009608bae4524a7a99c2d560be..852768896fd7ff71d1416bf9c86076200b8a5813 100644 (file)
@@ -1786,3 +1786,5 @@ deinit
 reinit
 COMPAR
 deduplicate
+digestbyname
+mdctxPtr
index 20afd36a8332604508d6563fd23624daba4590e1..837a48b78f622a05a84ee11d9183bf43dbf64c49 100644 (file)
@@ -29,3 +29,12 @@ Jesper
 Pau
 Mahoney
 manpages
+Andreas
+Menzel
+Weigel
+checkok
+cipherbyname
+Foolproofing
+Pedersen
+Typofixes
+segfault
index 078d2374c5be2491199b665c6ac64ae6c9217ff9..34a251eb667ec131a9c0772b89f6020c4f008896 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20221207"
+#define MAIL_RELEASE_DATE      "20221227"
 #define MAIL_VERSION_NUMBER    "3.8"
 
 #ifdef SNAPSHOT
index a246ff7932588e6ce1b6173ff3a1e1d8908ae50a..8dbdc8d704386fab3ee93f0032c04205860309c2 100644 (file)
 /*     with the postscreen_dnsbl_sites and postscreen_dnsbl_threshold
 /*     parameters).
 /* .IP "\fBpostscreen_dnsbl_reply_map (empty)\fR"
-/*     A mapping from actual DNSBL domain name which includes a secret
+/*     A mapping from an actual DNSBL domain name which includes a secret
 /*     password, to the DNSBL domain name that postscreen will reply with
 /*     when it rejects mail.
 /* .IP "\fBpostscreen_dnsbl_sites (empty)\fR"
-/*     Optional list of DNS allow/denylist domains, filters and weight
+/*     Optional list of patterns with DNS allow/denylist domains, filters
+/*     and weight
 /*     factors.
 /* .IP "\fBpostscreen_dnsbl_threshold (1)\fR"
 /*     The inclusive lower bound for blocking a remote SMTP client, based on
@@ -1174,7 +1175,7 @@ int     main(int argc, char **argv)
        0,
     };
     static const CONFIG_INT_TABLE int_table[] = {
-       VAR_PSC_DNSBL_THRESH, DEF_PSC_DNSBL_THRESH, &var_psc_dnsbl_thresh, 0, 0,
+       VAR_PSC_DNSBL_THRESH, DEF_PSC_DNSBL_THRESH, &var_psc_dnsbl_thresh, 1, 0,
        VAR_PSC_CMD_COUNT, DEF_PSC_CMD_COUNT, &var_psc_cmd_count, 1, 0,
        VAR_SMTPD_CCONN_LIMIT, DEF_SMTPD_CCONN_LIMIT, &var_smtpd_cconn_limit, 0, 0,
        0,
index c9f32e716466737c0e5221397542f1501a8db6a4..802157045be81ef4c118294fba6da256467eaf49 100644 (file)
@@ -221,7 +221,7 @@ const EVP_MD *tls_digest_byname(const char *mdalg, EVP_MD_CTX **mdctxPtr)
     checkok(md = EVP_get_digestbyname(mdalg));
 
     /*
-     * Sanity check: Newer shared libraries could (hypothentical ABI break)
+     * Sanity check: Newer shared libraries could (hypothetical ABI break)
      * allow larger digests, we avoid such poison algorithms.
      */
     checkok(EVP_MD_size(md) <= EVP_MAX_MD_SIZE);
@@ -260,7 +260,7 @@ char   *tls_serverid_digest(TLS_SESS_STATE *TLScontext,
      * panic if the fallback algorithm is not available, as it was verified
      * available in tls_client_init() and must not simply vanish.  Our
      * provider set is not expected to change once the OpenSSL library is
-     * initialised.
+     * initialized.
      */
     if (tls_digest_byname(mdalg = LN_sha256, &mdctx) == 0
        && tls_digest_byname(mdalg = props->mdalg, &mdctx) == 0)