File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2226,7 +2226,7 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
22262226 if (myoptarg != NULL ) {
22272227 if (XSTRLEN (myoptarg ) >= DTLS_CID_BUFFER_SIZE ) {
22282228 fprintf (stderr , "provided connection ID is too big\n" );
2229- return BAD_FUNC_ARG ;
2229+ XEXIT_T ( EXIT_FAILURE ) ;
22302230 }
22312231 else {
22322232 strcpy (dtlsCID , myoptarg );
@@ -3427,10 +3427,11 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
34273427 unsigned int receivedCIDSz ;
34283428 printf ("CID extension was negotiated\n" );
34293429 ret = wolfSSL_dtls_cid_get_tx_size (ssl , & receivedCIDSz );
3430- if (ret != WOLFSSL_SUCCESS )
3430+ if (ret != WOLFSSL_SUCCESS ) {
34313431 release (ctx , ssl , "Can't get negotiated DTLS CID size" );
34323432 ((func_args * )args )-> return_code = ret ;
34333433 goto exit ;
3434+ }
34343435
34353436 if (receivedCIDSz > 0 ) {
34363437 ret = wolfSSL_dtls_cid_get_tx (ssl , receivedCID ,
You can’t perform that action at this time.
0 commit comments