Commit 487dac87 authored by Juli Mallett's avatar Juli Mallett Committed by Ben Laurie
Browse files

Fix cast of boolean where cast of LHS intended.

Closes #74.
parent 15658d0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1353,7 +1353,7 @@ unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned cha
		{
		{
		size_t col = s->s3->client_opaque_prf_input_len;
		size_t col = s->s3->client_opaque_prf_input_len;
		
		
		if ((long)(limit - ret - 6 - col < 0))
		if ((long)(limit - ret - 6 - col) < 0)
			return NULL;
			return NULL;
		if (col > 0xFFFD) /* can't happen */
		if (col > 0xFFFD) /* can't happen */
			return NULL;
			return NULL;