diff options
Diffstat (limited to 'src/lib/libcrypto/bio')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_acpt.c | 11 | ||||
| -rw-r--r-- | src/lib/libcrypto/bio/bss_conn.c | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c index 73d147f4c1..60e61100b1 100644 --- a/src/lib/libcrypto/bio/bss_acpt.c +++ b/src/lib/libcrypto/bio/bss_acpt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bss_acpt.c,v 1.32 2025/05/10 05:54:38 tb Exp $ */ | 1 | /* $OpenBSD: bss_acpt.c,v 1.33 2025/06/02 12:18:21 jsg Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -261,11 +261,12 @@ again: | |||
| 261 | if (c->bio_chain != NULL) { | 261 | if (c->bio_chain != NULL) { |
| 262 | if ((dbio = BIO_dup_chain(c->bio_chain)) == NULL) | 262 | if ((dbio = BIO_dup_chain(c->bio_chain)) == NULL) |
| 263 | goto err; | 263 | goto err; |
| 264 | if (!BIO_push(dbio, bio)) goto err; | 264 | if (!BIO_push(dbio, bio)) |
| 265 | bio = dbio; | 265 | goto err; |
| 266 | bio = dbio; | ||
| 266 | } | 267 | } |
| 267 | if (BIO_push(b, bio) | 268 | if (BIO_push(b, bio) == NULL) |
| 268 | == NULL) goto err; | 269 | goto err; |
| 269 | 270 | ||
| 270 | c->state = ACPT_S_OK; | 271 | c->state = ACPT_S_OK; |
| 271 | return (1); | 272 | return (1); |
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c index 24dad82f5f..14f410f59d 100644 --- a/src/lib/libcrypto/bio/bss_conn.c +++ b/src/lib/libcrypto/bio/bss_conn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bss_conn.c,v 1.42 2025/05/10 05:54:38 tb Exp $ */ | 1 | /* $OpenBSD: bss_conn.c,v 1.43 2025/06/02 12:18:21 jsg Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -141,7 +141,7 @@ conn_state(BIO *b, BIO_CONNECT *c) | |||
| 141 | } | 141 | } |
| 142 | for (; *p != '\0'; p++) { | 142 | for (; *p != '\0'; p++) { |
| 143 | if ((*p == ':') || (*p == '/')) | 143 | if ((*p == ':') || (*p == '/')) |
| 144 | break; | 144 | break; |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | i= *p; | 147 | i= *p; |
