Fix and document BIO_FLAGS_NONCLEAR_RST behavior on memory BIO
authorTomas Mraz <tmraz@fedoraproject.org>
Tue, 18 Jun 2019 14:41:48 +0000 (16:41 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Wed, 19 Jun 2019 12:29:27 +0000 (14:29 +0200)
The BIO_FLAGS_NONCLEAR_RST flag behavior was not properly documented
and it also caused the length to be incorrectly set after the reset
operation.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9179)


No differences found