diff --git a/crypto/bio/bio_mem.c b/crypto/bio/bio_mem.c index 2bd92017e6..1751e2156a 100644 --- a/crypto/bio/bio_mem.c +++ b/crypto/bio/bio_mem.c @@ -302,4 +302,4 @@ int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership) { int BIO_set_mem_eof_return(BIO *bio, int eof_value) { return (int)BIO_ctrl(bio, BIO_C_SET_BUF_MEM_EOF_RETURN, eof_value, NULL); -} \ No newline at end of file +} diff --git a/include/openssl/bio.h b/include/openssl/bio.h index 4d8260d69e..d140b9b029 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -447,6 +447,7 @@ OPENSSL_EXPORT int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership); // default is -1 so that additional data can be written once exhausted. OPENSSL_EXPORT int BIO_set_mem_eof_return(BIO *bio, int eof_value); + // BIO close flags. // // These can be used as symbolic arguments when a "close flag" is passed to a diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 60aa86f41b..37dc1e1e61 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -5159,7 +5159,7 @@ OPENSSL_EXPORT void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*cb)(SSL *ssl, int is_export, int keylength)); -// SSL_CTX_set_dh_auto does nothing. +// SSL_CTX_set_dh_auto does nothing and returns 0 for error. OPENSSL_EXPORT long SSL_CTX_set_dh_auto(SSL_CTX *ctx, int onoff); // SSL_CTX_set1_sigalgs takes |num_values| ints and interprets them as pairs