mirror of https://github.com/openssl/openssl.git
				
				
				
			PR: 2055
Submitted by: Julia Lawall <julia@diku.dk> Approved by: steve@openssl.org Correct BIO_ctrl error handling in s2_srvr.c
This commit is contained in:
		
							parent
							
								
									29c2fd46d2
								
							
						
					
					
						commit
						3d1dab4404
					
				|  | @ -267,7 +267,7 @@ int ssl2_accept(SSL *s) | |||
|  		case SSL2_ST_SEND_SERVER_VERIFY_C: | ||||
|  			/* get the number of bytes to write */ | ||||
|  			num1=BIO_ctrl(s->wbio,BIO_CTRL_INFO,0,NULL); | ||||
|  			if (num1 != 0) | ||||
|  			if (num1 > 0) | ||||
|  				{ | ||||
| 				s->rwstate=SSL_WRITING; | ||||
|  				num1=BIO_flush(s->wbio); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue