diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
-rw-r--r-- | src/lib/libcrypto/bio/bio_lib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c index 51289ad295..f129062d6e 100644 --- a/src/lib/libcrypto/bio/bio_lib.c +++ b/src/lib/libcrypto/bio/bio_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio_lib.c,v 1.32 2022/01/05 20:22:26 tb Exp $ */ | 1 | /* $OpenBSD: bio_lib.c,v 1.33 2022/01/05 20:48:44 tb 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 | * |
@@ -558,6 +558,12 @@ BIO_get_retry_reason(BIO *bio) | |||
558 | return (bio->retry_reason); | 558 | return (bio->retry_reason); |
559 | } | 559 | } |
560 | 560 | ||
561 | void | ||
562 | BIO_set_retry_reason(BIO *bio, int reason) | ||
563 | { | ||
564 | bio->retry_reason = reason; | ||
565 | } | ||
566 | |||
561 | BIO * | 567 | BIO * |
562 | BIO_find_type(BIO *bio, int type) | 568 | BIO_find_type(BIO *bio, int type) |
563 | { | 569 | { |