Skip to content

Commit

Permalink
fixed spacing and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smittals2 committed Mar 12, 2024
1 parent 8d8214f commit bcf863a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crypto/bio/bio_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
1 change: 1 addition & 0 deletions include/openssl/bio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/openssl/ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcf863a

Please sign in to comment.