Skip to content

Commit 68cc907

Browse files
update comments for SSL_set_shutdown
1 parent d1c4673 commit 68cc907

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/openssl/ssl.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5451,9 +5451,8 @@ OPENSSL_EXPORT int SSL_state(const SSL *ssl);
54515451
// receiving close_notify in |SSL_shutdown| by causing the implementation to
54525452
// believe the events already happened.
54535453
//
5454-
// It is an error to use |SSL_set_shutdown| to unset a bit that has already been
5455-
// set. Doing so will trigger an |assert| in debug builds and otherwise be
5456-
// ignored.
5454+
// Note: |SSL_set_shutdown| cannot be used to unset a bit that has already
5455+
// been set in AWS-LC. Doing so will be ignored.
54575456
//
54585457
// Use |SSL_CTX_set_quiet_shutdown| instead.
54595458
OPENSSL_EXPORT void SSL_set_shutdown(SSL *ssl, int mode);

0 commit comments

Comments
 (0)