diff options
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-rw-r--r-- | src/lib/libssl/ssl_txt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c index 26b631d5ab..4ed76c95ab 100644 --- a/src/lib/libssl/ssl_txt.c +++ b/src/lib/libssl/ssl_txt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_txt.c,v 1.38 2024/07/20 04:04:23 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_txt.c,v 1.39 2024/07/22 14:47:15 jsing 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 | * |
@@ -122,9 +122,9 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) | |||
122 | ssl_version_string(x->ssl_version)) <= 0) | 122 | ssl_version_string(x->ssl_version)) <= 0) |
123 | goto err; | 123 | goto err; |
124 | 124 | ||
125 | if ((cipher = ssl3_get_cipher_by_id(x->cipher_id)) == NULL) { | 125 | if ((cipher = ssl3_get_cipher_by_value(x->cipher_value)) == NULL) { |
126 | if (BIO_printf(bp, " Cipher : %04lX\n", | 126 | if (BIO_printf(bp, " Cipher : %04X\n", |
127 | x->cipher_id & SSL3_CK_VALUE_MASK) <= 0) | 127 | x->cipher_value) <= 0) |
128 | goto err; | 128 | goto err; |
129 | } else { | 129 | } else { |
130 | const char *cipher_name = "unknown"; | 130 | const char *cipher_name = "unknown"; |