[openssl/openssl] 940f49: demos/guide/tls-server-block.c: check results of _...

"'esyr' via openssl-commits" <[email protected]> Mon, 20 Jul 2026 04:20:38 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 940f4930c856acf21ee4280550632a59215a6127
      https://github.com/openssl/openssl/commit/940f4930c856acf21ee4280550632a59215a6127
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/guide/tls-server-block.c

  Log Message:
  -----------
  demos/guide/tls-server-block.c: check results of __owur API calls

Check results of SSL_CTX_set_session_id_context()
and SSL_CTX_set_timeout() calls, as these functions are marked
with __owur, leading to compilation error when compiled
with -Werror=unused-result.

Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:51 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 8f8c42fa2d5f10fec9e21ff95290c70bc9acb326
      https://github.com/openssl/openssl/commit/8f8c42fa2d5f10fec9e21ff95290c70bc9acb326
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/README.txt
    M demos/guide/build.info

  Log Message:
  -----------
  demos: wire up tls-server-block

The blocking TLS server demo code was added f4b4a185b546 "MVP demo TLS
server", which, while was applied after 2000281dad31 "Convert demos
to primary build system", was authored before, and hasn't been updated
accordingly.  Rescind that omission by add the relevant introes
to build.info.

Also, while at it, mention tls-server-block in demos/README.txt.

Complements: f4b4a185b546 "MVP demo TLS server"
Reported-by: Frederik Wedel-Heinen <[email protected]>
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:52 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 25a7067b3d0bd49d2518c0860b8b9dfd82f8cc51
      https://github.com/openssl/openssl/commit/25a7067b3d0bd49d2518c0860b8b9dfd82f8cc51
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/README.txt

  Log Message:
  -----------
  demos/README.txt: mention quic-server-block.c and quic-server-non-block.c

Complements: dad45ea769dc "Adds a new demo blocking QUIC server for use with the existing demo QUIC clients"
Complements: d9d4d84ceb01 "Add demo QUIC non-blocking server"
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:53 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 3227ca41ec4c8332cbd0caefa73a8ccb80ac8d84
      https://github.com/openssl/openssl/commit/3227ca41ec4c8332cbd0caefa73a8ccb80ac8d84
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/pkcs12/pkwrite.c

  Log Message:
  -----------
  demos/pkcs12/pkwrite.c: drop deprecated init calls

Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:54 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 913cd240c7b16a4440e5616ac82b608a8385ce0c
      https://github.com/openssl/openssl/commit/913cd240c7b16a4440e5616ac82b608a8385ce0c
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/build.info
    A demos/pkcs12/build.info

  Log Message:
  -----------
  demos: add PKCS#12 reading and writing demos to the primary build system

For some reason, demos in the pkcs12 directory were omitted during
the initial conversion done in commit 2000281dad31 "Convert demos
to primary build system".  Rescind this omission.

Complements: 2000281dad31 "Convert demos to primary build system"
Reported-by: Frederik Wedel-Heinen <[email protected]>
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:55 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 0e1176078f909d4c47dac0462b087c5f55528e96
      https://github.com/openssl/openssl/commit/0e1176078f909d4c47dac0462b087c5f55528e96
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/sslecho/echecho.c

  Log Message:
  -----------
  demos/sslecho/echecho.c: reflow overly long lines

Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs."
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:57 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 936a9ce2838f75ca64d45ee7a89ec8cf84d6e335
      https://github.com/openssl/openssl/commit/936a9ce2838f75ca64d45ee7a89ec8cf84d6e335
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/sslecho/echecho.c

  Log Message:
  -----------
  demos/sslecho/echecho.c: use <stdbool.h>

...instead of defining it (incorrectly).

Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs."
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:58 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: bf1f522f34ed253a6139ed197f50043217fca62a
      https://github.com/openssl/openssl/commit/bf1f522f34ed253a6139ed197f50043217fca62a
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/sslecho/echecho.c

  Log Message:
  -----------
  demos/sslecho/echecho.c: declare locally used functions as static

Otherwise it triggers -Werror=missing-prototypes when built
with --strict-warnings.

Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs."
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:18:59 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 7a4522bf2607f6fa9136273d375c71d78e6e8cbc
      https://github.com/openssl/openssl/commit/7a4522bf2607f6fa9136273d375c71d78e6e8cbc
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/sslecho/echecho.c

  Log Message:
  -----------
  demos/sslecho/echecho.c: use SSL_set1_ipaddr() instead of SSL_set1_host()

As the latter was deprecated in commit f584ae959cbc "Let's support
multiple names for certificate verification".

Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs."
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:19:00 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 87b0f363dccbdbdbeb22202de0c1db3e5fbc4f72
      https://github.com/openssl/openssl/commit/87b0f363dccbdbdbeb22202de0c1db3e5fbc4f72
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/sslecho/echecho.c

  Log Message:
  -----------
  demos/sslecho/echecho.c: check return values of SSL_* calls

As otherwise it triggers -Werror=unused-result when built
with --strict-warnings.

Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs."
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:19:01 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: 2216d3b10f7a71f9fd166a4f741da9ab0b73107b
      https://github.com/openssl/openssl/commit/2216d3b10f7a71f9fd166a4f741da9ab0b73107b
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/sslecho/echecho.c

  Log Message:
  -----------
  demos/sslecho/echecho.c: apply Windows-specific changes

Similar to the ones present in demos/sslecho/main.c.

Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs."
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:19:03 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


  Commit: ef6f59329d8e795d5a09ff784bf6e0aae2d2f123
      https://github.com/openssl/openssl/commit/ef6f59329d8e795d5a09ff784bf6e0aae2d2f123
  Author: Eugene Syromiatnikov <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M demos/README.txt
    M demos/sslecho/build.info

  Log Message:
  -----------
  demos: wire up echecho

Complements: 50580382caca "Documents initial agreed APIs for Encrypted Client Hello (ECH) and includes a minimal demo for some of those APIs."
Reported-by: Frederik Wedel-Heinen <[email protected]>
Signed-off-by: Eugene Syromiatnikov <[email protected]>

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
MergeDate: Mon Jul 20 11:19:04 2026
(Merged from https://github.com/openssl/openssl/pull/31751)


Compare: https://github.com/openssl/openssl/compare/8194b426f9a8...ef6f59329d8e

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/8194b4-ef6f59%40github.com.