From 0d4fb8439092ff8253af72ac6bc193e77ebbcf2f Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Fri, 5 Feb 2016 15:23:54 -0500 Subject: GH601: Various spelling fixes. Signed-off-by: Rich Salz Reviewed-by: Matt Caswell --- crypto/bio/b_sock.c | 2 +- crypto/bio/bss_dgram.c | 2 +- crypto/bio/bss_file.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/bio') diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index fab5b09f37..567ee4824d 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -195,7 +195,7 @@ int BIO_sock_init(void) memset(&wsa_state, 0, sizeof(wsa_state)); /* * Not making wsa_state available to the rest of the code is formally - * wrong. But the structures we use are [beleived to be] invariable + * wrong. But the structures we use are [believed to be] invariable * among Winsock DLLs, while API availability is [expected to be] * probed at run-time with DSO_global_lookup. */ diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index a3d8a0cab9..0887293e29 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -299,7 +299,7 @@ static void dgram_adjust_rcv_timeout(BIO *b) } /* - * Adjust socket timeout if next handhake message timer will expire + * Adjust socket timeout if next handshake message timer will expire * earlier. */ if ((data->socket_timeout.tv_sec == 0 diff --git a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c index 334eca038d..2689a283b8 100644 --- a/crypto/bio/bss_file.c +++ b/crypto/bio/bss_file.c @@ -196,8 +196,8 @@ BIO *BIO_new_fp(FILE *stream, int close_flag) if ((ret = BIO_new(BIO_s_file())) == NULL) return (NULL); - BIO_set_flags(ret, BIO_FLAGS_UPLINK); /* redundant, left for - * documentation puposes */ + /* redundant flag, left for documentation purposes */ + BIO_set_flags(ret, BIO_FLAGS_UPLINK); BIO_set_fp(ret, stream, close_flag); return (ret); } -- cgit v1.2.3