projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f84d2a
)
Use _get0_ functions instead of _get_.
author
Marc
<34656315+MarcT512@users.noreply.github.com>
Sat, 16 May 2020 18:31:03 +0000
(19:31 +0100)
committer
Dmitry Belyavskiy
<beldmit@gmail.com>
Tue, 19 May 2020 08:38:00 +0000
(11:38 +0300)
Fix build error on some platforms
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/10757)
apps/s_client.c
patch
|
blob
|
history
diff --git
a/apps/s_client.c
b/apps/s_client.c
index 98509a299d4983655a278f6ad3dd4825cc395d7d..a5f0fa0444094a45eaa09f316c1bff16f8e691da 100644
(file)
--- a/
apps/s_client.c
+++ b/
apps/s_client.c
@@
-3186,9
+3186,9
@@
static void print_stuff(BIO *bio, SSL *s, int full)
EVP_PKEY_free(public_key);
}
BIO_printf(bio, " v:NotBefore: ");
- ASN1_TIME_print(bio, X509_get_notBefore(sk_X509_value(sk, i)));
+ ASN1_TIME_print(bio, X509_get
0
_notBefore(sk_X509_value(sk, i)));
BIO_printf(bio, "; NotAfter: ");
- ASN1_TIME_print(bio, X509_get_notAfter(sk_X509_value(sk, i)));
+ ASN1_TIME_print(bio, X509_get
0
_notAfter(sk_X509_value(sk, i)));
BIO_puts(bio, "\n");
if (c_showcerts)
PEM_write_bio_X509(bio, sk_X509_value(sk, i));