summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_txt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-rw-r--r--src/lib/libssl/ssl_txt.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c
index 91664ffe43..5538c57562 100644
--- a/src/lib/libssl/ssl_txt.c
+++ b/src/lib/libssl/ssl_txt.c
@@ -161,16 +161,6 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
161 if (BIO_printf(bp, "%02X", x->master_key[i]) 161 if (BIO_printf(bp, "%02X", x->master_key[i])
162 <= 0) goto err; 162 <= 0) goto err;
163 } 163 }
164 if (BIO_puts(bp, "\n Key-Arg : ")
165 <= 0) goto err;
166 if (x->key_arg_length == 0) {
167 if (BIO_puts(bp, "None")
168 <= 0) goto err;
169 } else
170 for (i = 0; i < x->key_arg_length; i++) {
171 if (BIO_printf(bp, "%02X", x->key_arg[i])
172 <= 0) goto err;
173 }
174#ifndef OPENSSL_NO_KRB5 164#ifndef OPENSSL_NO_KRB5
175 if (BIO_puts(bp, "\n Krb5 Principal: ") 165 if (BIO_puts(bp, "\n Krb5 Principal: ")
176 <= 0) goto err; 166 <= 0) goto err;
@@ -227,8 +217,8 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
227 } 217 }
228 } 218 }
229#endif 219#endif
230 if (x->time != 0L) { 220 if (x->time != 0) {
231 if (BIO_printf(bp, "\n Start Time: %ld", x->time) 221 if (BIO_printf(bp, "\n Start Time: %lld", (long long)x->time)
232 <= 0) goto err; 222 <= 0) goto err;
233 } 223 }
234 if (x->timeout != 0L) { 224 if (x->timeout != 0L) {