diff options
author | guenther <> | 2014-04-20 12:48:19 +0000 |
---|---|---|
committer | guenther <> | 2014-04-20 12:48:19 +0000 |
commit | c731cb69e68ed8885bfc2329a37641272b29a72b (patch) | |
tree | cca6edfc57a2953a5fb440052243f46cd8d7eb12 /src/lib/libssl/ssl_txt.c | |
parent | 4c85bd75a7a371af2ee4de883acb83507e923baf (diff) | |
download | openbsd-c731cb69e68ed8885bfc2329a37641272b29a72b.tar.gz openbsd-c731cb69e68ed8885bfc2329a37641272b29a72b.tar.bz2 openbsd-c731cb69e68ed8885bfc2329a37641272b29a72b.zip |
Chop off more SSLv2 tentacles and start fixing and noting y2038 issues.
APIs that pass times as longs will have to change at some point...
Bump major on both libcrypto and libssl.
ok tedu@
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-rw-r--r-- | src/lib/libssl/ssl_txt.c | 14 |
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) { |