diff options
Diffstat (limited to 'src/lib/libssl')
| -rw-r--r-- | src/lib/libssl/d1_both.c | 2 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/x509/x509_vfy.c | 1 | ||||
| -rw-r--r-- | src/lib/libssl/src/ssl/d1_both.c | 2 | ||||
| -rw-r--r-- | src/lib/libssl/src/ssl/ssl_task.c | 4 |
4 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 6e51aa7f69..ab6b168410 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
| @@ -647,8 +647,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) { | |||
| 647 | 647 | ||
| 648 | item = pitem_new(seq64be, frag); | 648 | item = pitem_new(seq64be, frag); |
| 649 | if (item == NULL) { | 649 | if (item == NULL) { |
| 650 | goto err; | ||
| 651 | i = -1; | 650 | i = -1; |
| 651 | goto err; | ||
| 652 | } | 652 | } |
| 653 | 653 | ||
| 654 | pqueue_insert(s->d1->buffered_messages, item); | 654 | pqueue_insert(s->d1->buffered_messages, item); |
diff --git a/src/lib/libssl/src/crypto/x509/x509_vfy.c b/src/lib/libssl/src/crypto/x509/x509_vfy.c index 920066aeba..a82c2872e0 100644 --- a/src/lib/libssl/src/crypto/x509/x509_vfy.c +++ b/src/lib/libssl/src/crypto/x509/x509_vfy.c | |||
| @@ -424,7 +424,6 @@ static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer) | |||
| 424 | ctx->current_cert = x; | 424 | ctx->current_cert = x; |
| 425 | ctx->current_issuer = issuer; | 425 | ctx->current_issuer = issuer; |
| 426 | return ctx->verify_cb(0, ctx); | 426 | return ctx->verify_cb(0, ctx); |
| 427 | return 0; | ||
| 428 | } | 427 | } |
| 429 | 428 | ||
| 430 | /* Alternative lookup method: look from a STACK stored in other_ctx */ | 429 | /* Alternative lookup method: look from a STACK stored in other_ctx */ |
diff --git a/src/lib/libssl/src/ssl/d1_both.c b/src/lib/libssl/src/ssl/d1_both.c index 6e51aa7f69..ab6b168410 100644 --- a/src/lib/libssl/src/ssl/d1_both.c +++ b/src/lib/libssl/src/ssl/d1_both.c | |||
| @@ -647,8 +647,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok) { | |||
| 647 | 647 | ||
| 648 | item = pitem_new(seq64be, frag); | 648 | item = pitem_new(seq64be, frag); |
| 649 | if (item == NULL) { | 649 | if (item == NULL) { |
| 650 | goto err; | ||
| 651 | i = -1; | 650 | i = -1; |
| 651 | goto err; | ||
| 652 | } | 652 | } |
| 653 | 653 | ||
| 654 | pqueue_insert(s->d1->buffered_messages, item); | 654 | pqueue_insert(s->d1->buffered_messages, item); |
diff --git a/src/lib/libssl/src/ssl/ssl_task.c b/src/lib/libssl/src/ssl/ssl_task.c index 25d20b06a0..be0319831a 100644 --- a/src/lib/libssl/src/ssl/ssl_task.c +++ b/src/lib/libssl/src/ssl/ssl_task.c | |||
| @@ -322,14 +322,14 @@ doit(io_channel chan, SSL_CTX *s_ctx ) | |||
| 322 | } | 322 | } |
| 323 | if (length < RPC_HDR_SIZE ) { | 323 | if (length < RPC_HDR_SIZE ) { |
| 324 | printf("Error in main loop get size: %d\n", length ); | 324 | printf("Error in main loop get size: %d\n", length ); |
| 325 | break; | ||
| 326 | link_state = 3; | 325 | link_state = 3; |
| 326 | break; | ||
| 327 | } | 327 | } |
| 328 | if (msg.channel != 'A' ) { | 328 | if (msg.channel != 'A' ) { |
| 329 | printf("Error in main loop, unexpected channel: %c\n", | 329 | printf("Error in main loop, unexpected channel: %c\n", |
| 330 | msg.channel ); | 330 | msg.channel ); |
| 331 | break; | ||
| 332 | link_state = 3; | 331 | link_state = 3; |
| 332 | break; | ||
| 333 | } | 333 | } |
| 334 | if (msg.function == 'G' ) { | 334 | if (msg.function == 'G' ) { |
| 335 | link_state = 1; | 335 | link_state = 1; |
