diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/evp/p_lib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/p_lib.c b/src/lib/libcrypto/evp/p_lib.c index 89ce4c451a..cdd38e4e30 100644 --- a/src/lib/libcrypto/evp/p_lib.c +++ b/src/lib/libcrypto/evp/p_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: p_lib.c,v 1.27 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: p_lib.c,v 1.28 2022/01/20 11:06:24 inoguchi 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 | * |
| @@ -526,7 +526,8 @@ EVP_PKEY_free_it(EVP_PKEY *x) | |||
| 526 | static int | 526 | static int |
| 527 | unsup_alg(BIO *out, const EVP_PKEY *pkey, int indent, const char *kstr) | 527 | unsup_alg(BIO *out, const EVP_PKEY *pkey, int indent, const char *kstr) |
| 528 | { | 528 | { |
| 529 | BIO_indent(out, indent, 128); | 529 | if (!BIO_indent(out, indent, 128)) |
| 530 | return 0; | ||
| 530 | BIO_printf(out, "%s algorithm \"%s\" unsupported\n", | 531 | BIO_printf(out, "%s algorithm \"%s\" unsupported\n", |
| 531 | kstr, OBJ_nid2ln(pkey->type)); | 532 | kstr, OBJ_nid2ln(pkey->type)); |
| 532 | return 1; | 533 | return 1; |
