aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/ssl/bio_ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/ssl/bio_ssl.c')
-rw-r--r--crypto/openssl/ssl/bio_ssl.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/crypto/openssl/ssl/bio_ssl.c b/crypto/openssl/ssl/bio_ssl.c
index d1034814bff2..1123899c9224 100644
--- a/crypto/openssl/ssl/bio_ssl.c
+++ b/crypto/openssl/ssl/bio_ssl.c
@@ -26,7 +26,7 @@ static int ssl_new(BIO *h);
static int ssl_free(BIO *data);
static long ssl_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
typedef struct bio_ssl_st {
- SSL *ssl; /* The ssl handle :-) */
+ SSL *ssl; /* The ssl handle :-) */
/*
* Re-negotiate every time the total number of bytes is this size
* or when timeout expires.
@@ -43,11 +43,11 @@ static const BIO_METHOD methods_sslp = {
BIO_TYPE_SSL,
"ssl",
ssl_write,
- NULL, /* ssl_write_old, */
+ NULL, /* ssl_write_old, */
ssl_read,
- NULL, /* ssl_read_old, */
+ NULL, /* ssl_read_old, */
ssl_puts,
- NULL, /* ssl_gets, */
+ NULL, /* ssl_gets, */
ssl_ctrl,
ssl_new,
ssl_free,
@@ -267,7 +267,7 @@ static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr)
ret = 0;
break;
case BIO_C_SSL_MODE:
- if (num) /* client mode */
+ if (num) /* client mode */
SSL_set_connect_state(ssl);
else
SSL_set_accept_state(ssl);
@@ -445,11 +445,11 @@ BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx)
#ifndef OPENSSL_NO_SOCK
BIO *ret = NULL, *buf = NULL, *ssl = NULL;
-# ifndef OPENSSL_NO_QUIC
+#ifndef OPENSSL_NO_QUIC
if (ctx != NULL && IS_QUIC_CTX(ctx))
/* Never use buffering for QUIC. */
return BIO_new_ssl_connect(ctx);
-# endif
+#endif
if ((buf = BIO_new(BIO_f_buffer())) == NULL)
return NULL;
@@ -458,7 +458,7 @@ BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx)
if ((ret = BIO_push(buf, ssl)) == NULL)
goto err;
return ret;
- err:
+err:
BIO_free(buf);
BIO_free(ssl);
#endif
@@ -473,7 +473,7 @@ BIO *BIO_new_ssl_connect(SSL_CTX *ctx)
if ((con = BIO_new(BIO_s_connect())) == NULL)
return NULL;
-# ifndef OPENSSL_NO_QUIC
+#ifndef OPENSSL_NO_QUIC
if (ctx != NULL && IS_QUIC_CTX(ctx))
if (!BIO_set_sock_type(con, SOCK_DGRAM))
goto err;
@@ -484,7 +484,7 @@ BIO *BIO_new_ssl_connect(SSL_CTX *ctx)
if ((ret = BIO_push(ssl, con)) == NULL)
goto err;
return ret;
- err:
+err:
BIO_free(ssl);
BIO_free(con);
#endif