[openssl/openssl] 678e63: bio_ssl.c: Do not call SSL_shutdown if not inited

Tobias Erbsland noreply at github.com
Tue Jun 25 14:09:56 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 678e63bc38dbfe3769bcfd5d6df51896423f2093
      https://github.com/openssl/openssl/commit/678e63bc38dbfe3769bcfd5d6df51896423f2093
  Author: erbsland-dev <github at erbsland.dev>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M ssl/bio_ssl.c

  Log Message:
  -----------
  bio_ssl.c: Do not call SSL_shutdown if not inited

Fixes #4545

If free is called for an SSL BIO that is in initialization phase,
the `SSL_shutdown` call is omitted.

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24705)

(cherry picked from commit 57b83edc46926662491d63666231ba7ddc954a38)



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


More information about the openssl-commits mailing list