Coverity Scan: Analysis completed for openssl/openssl

2022-09-20 Thread scan-admin


Your request for analysis of openssl/openssl has been completed 
successfully.
The results are available at 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yoN-2BQSVjTtaSz8wS4wOr7HlekBtV1P4YRtWclMVkCdvAA-3D-3DKreJ_MulOTlHne1IxTRELXXnGni8d68xSVF-2BUCe3a7Ux-2BjeE-2BzXAE9-2BTIQ154g5BLgh9VpyQ9XCmL4xrwIIt-2FhdaxoIcP13YAuY9pgIdOsrAT29LDDCp0hEn4cS1JROXPEAlcu3eyXaSnAZyI02ftdj2aF5hevSJFrqZIko6RrqfZlqI-2Bh8Uv0da3I-2BmAx-2FprNxYkYMq-2FRVJ1skFRuqqMO8YXycwXtkZld9-2FHnOmQsPks23U-3D

Build ID: 481349

Analysis Summary:
   New defects found: 0
   Defects eliminated: 0



[openssl/openssl] 51024f: apps/x509.c: Remove legacy call to OBJ_create()

2022-09-20 Thread David von Oheimb
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 51024f75591d00a52dd867906a763b4e2107e288
  
https://github.com/openssl/openssl/commit/51024f75591d00a52dd867906a763b4e2107e288
  Author: Dr. David von Oheimb 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M apps/x509.c

  Log Message:
  ---
  apps/x509.c: Remove legacy call to OBJ_create()

Reviewed-by: Dmitry Belyavskiy 
Reviewed-by: Tomas Mraz 
Reviewed-by: David von Oheimb 
(Merged from https://github.com/openssl/openssl/pull/18900)


  Commit: 200d844782956b4c6db9bdd92a53113d9c2dc3c7
  
https://github.com/openssl/openssl/commit/200d844782956b4c6db9bdd92a53113d9c2dc3c7
  Author: Dr. David von Oheimb 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M apps/ca.c
M apps/cmp.c
M apps/include/apps.h
M apps/lib/apps.c
M apps/req.c
M apps/x509.c
M doc/man1/openssl-ca.pod.in
M doc/man1/openssl-req.pod.in
M doc/man1/openssl-x509.pod.in

  Log Message:
  ---
  APPS: Move load_csr_autofmt() from apps/cmp.c to apps.c and use it also for 
apps, too

Also add related references to FR #15725.

Reviewed-by: Dmitry Belyavskiy 
Reviewed-by: Tomas Mraz 
Reviewed-by: David von Oheimb 
(Merged from https://github.com/openssl/openssl/pull/18900)


Compare: https://github.com/openssl/openssl/compare/630d31219b34...200d84478295


[openssl/openssl] 630d31: Check that sk_SSL_CIPHER_value returns non-NULL va...

2022-09-20 Thread faramir-dev
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 630d31219b343d2654ab03d2e2c7884e764936ab
  
https://github.com/openssl/openssl/commit/630d31219b343d2654ab03d2e2c7884e764936ab
  Author: Daniel Fiala 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M apps/ciphers.c

  Log Message:
  ---
  Check that sk_SSL_CIPHER_value returns non-NULL value.

Fixes openssl#19162.

Reviewed-by: Paul Dale 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/19233)




[openssl/openssl] 67f58e: Check that sk_SSL_CIPHER_value returns non-NULL va...

2022-09-20 Thread faramir-dev
  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 67f58eaac17d16020da8503493dbbe77c80698f5
  
https://github.com/openssl/openssl/commit/67f58eaac17d16020da8503493dbbe77c80698f5
  Author: Daniel Fiala 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M apps/ciphers.c

  Log Message:
  ---
  Check that sk_SSL_CIPHER_value returns non-NULL value.

Fixes openssl#19162.

Reviewed-by: Paul Dale 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/19233)

(cherry picked from commit 630d31219b343d2654ab03d2e2c7884e764936ab)




[openssl/openssl] 054189: Update documentation, standard input is expected t...

2022-09-20 Thread openssl-machine
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 054189bf7a9e68a7374744e7eaea344ba1784e68
  
https://github.com/openssl/openssl/commit/054189bf7a9e68a7374744e7eaea344ba1784e68
  Author: Patrik Sevallius 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M doc/man1/openssl-mac.pod.in

  Log Message:
  ---
  Update documentation, standard input is expected to be in binary format too

CLA: trivial

Reviewed-by: Richard Levitte 
Reviewed-by: Tomas Mraz 
Reviewed-by: Hugo Landau 
(Merged from https://github.com/openssl/openssl/pull/19234)


  Commit: 4689fe1bfd390db591ad5ab5479f06b52ac6f337
  
https://github.com/openssl/openssl/commit/4689fe1bfd390db591ad5ab5479f06b52ac6f337
  Author: Patrik Sevallius 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M apps/mac.c

  Log Message:
  ---
  Always use FORMAT_BINARY for infile

CLA: trivial

Reviewed-by: Richard Levitte 
Reviewed-by: Tomas Mraz 
Reviewed-by: Hugo Landau 
(Merged from https://github.com/openssl/openssl/pull/19234)


Compare: https://github.com/openssl/openssl/compare/67ec6d2b7478...4689fe1bfd39


[openssl/openssl] 6e2f61: Update documentation, standard input is expected t...

2022-09-20 Thread openssl-machine
  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 6e2f619d138a20e80d69fbebe3b8f16d1eaa997c
  
https://github.com/openssl/openssl/commit/6e2f619d138a20e80d69fbebe3b8f16d1eaa997c
  Author: Patrik Sevallius 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M doc/man1/openssl-mac.pod.in

  Log Message:
  ---
  Update documentation, standard input is expected to be in binary format too

CLA: trivial

Reviewed-by: Richard Levitte 
Reviewed-by: Tomas Mraz 
Reviewed-by: Hugo Landau 
(Merged from https://github.com/openssl/openssl/pull/19234)

(cherry picked from commit 054189bf7a9e68a7374744e7eaea344ba1784e68)


  Commit: 70f1b6aaa5de06a317c366b17edcbff890f062b2
  
https://github.com/openssl/openssl/commit/70f1b6aaa5de06a317c366b17edcbff890f062b2
  Author: Patrik Sevallius 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M apps/mac.c

  Log Message:
  ---
  Always use FORMAT_BINARY for infile

CLA: trivial

Reviewed-by: Richard Levitte 
Reviewed-by: Tomas Mraz 
Reviewed-by: Hugo Landau 
(Merged from https://github.com/openssl/openssl/pull/19234)

(cherry picked from commit 4689fe1bfd390db591ad5ab5479f06b52ac6f337)


Compare: https://github.com/openssl/openssl/compare/613fe16a9020...70f1b6aaa5de


[openssl/openssl] 3b7a32: Test a 0 return from the ticket key callback

2022-09-20 Thread Matt Caswell
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 3b7a3241c225b152ba8519f540bcac5b680312c2
  
https://github.com/openssl/openssl/commit/3b7a3241c225b152ba8519f540bcac5b680312c2
  Author: Matt Caswell 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M test/sslapitest.c

  Log Message:
  ---
  Test a 0 return from the ticket key callback

A 0 return from a ticket key callback should indicate that crypto parameters
are not currently available and that the handshake should continue without
generating/using the ticket.

Reviewed-by: Viktor Dukhovni 
Reviewed-by: Tomas Mraz 
Reviewed-by: Hugo Landau 
(Merged from https://github.com/openssl/openssl/pull/18990)


  Commit: 3e93c5fe1eab677500448e18e4274b26e4b246ae
  
https://github.com/openssl/openssl/commit/3e93c5fe1eab677500448e18e4274b26e4b246ae
  Author: Matt Caswell 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M ssl/statem/statem.c
M ssl/statem/statem_srvr.c

  Log Message:
  ---
  If a ticket key callback returns 0 in TLSv1.3 don't send a ticket

If we can't construct the ticket don't send one. This requires a change
to the TLS state machine to be able to a handle a construction function
deciding not to send a message after all.

Fixes #18977

Reviewed-by: Viktor Dukhovni 
Reviewed-by: Tomas Mraz 
Reviewed-by: Hugo Landau 
(Merged from https://github.com/openssl/openssl/pull/18990)


  Commit: 67ec6d2b747810db609330003dcf08c8c584105b
  
https://github.com/openssl/openssl/commit/67ec6d2b747810db609330003dcf08c8c584105b
  Author: Matt Caswell 
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
M ssl/statem/statem.c
M ssl/statem/statem.h
M ssl/statem/statem_clnt.c
M ssl/statem/statem_dtls.c
M ssl/statem/statem_lib.c
M ssl/statem/statem_local.h
M ssl/statem/statem_srvr.c

  Log Message:
  ---
  Use an enum for the return value from a construction function

Construction return values are no longer boolean but can return 3 different
values, so we use an enum to represent them.

Reviewed-by: Viktor Dukhovni 
Reviewed-by: Tomas Mraz 
Reviewed-by: Hugo Landau 
(Merged from https://github.com/openssl/openssl/pull/18990)


Compare: https://github.com/openssl/openssl/compare/9b25f52a4425...67ec6d2b7478