diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2016-11-04 18:07:25 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2016-11-04 18:07:25 +0000 |
commit | 396633d63aca49076ff603738e121a55b65af92d (patch) | |
tree | 18cb524e608acecdd048020698bce37a7a2fff57 /lib/libtls/tls_conninfo.c | |
parent | 28393fdddd44b5251bbb0ea08ce9d8b3683b6a37 (diff) |
make public ASN1_time_parse and ASN1_time_tm_cmp to replace former hidden
functions.. document with a man page.
bump majors on libtls, libssl, libcrypto
ok jsing@ guenther@
Diffstat (limited to 'lib/libtls/tls_conninfo.c')
-rw-r--r-- | lib/libtls/tls_conninfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libtls/tls_conninfo.c b/lib/libtls/tls_conninfo.c index 5882a19cee8..1bf4b2285b2 100644 --- a/lib/libtls/tls_conninfo.c +++ b/lib/libtls/tls_conninfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_conninfo.c,v 1.11 2016/08/22 17:12:35 jsing Exp $ */ +/* $OpenBSD: tls_conninfo.c,v 1.12 2016/11/04 18:07:24 beck Exp $ */ /* * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> * Copyright (c) 2015 Bob Beck <beck@openbsd.org> @@ -136,9 +136,9 @@ tls_get_peer_cert_times(struct tls *ctx, time_t *notbefore, goto err; if ((after = X509_get_notAfter(ctx->ssl_peer_cert)) == NULL) goto err; - if (asn1_time_parse(before->data, before->length, &before_tm, 0) == -1) + if (ASN1_time_parse(before->data, before->length, &before_tm, 0) == -1) goto err; - if (asn1_time_parse(after->data, after->length, &after_tm, 0) == -1) + if (ASN1_time_parse(after->data, after->length, &after_tm, 0) == -1) goto err; if ((*notbefore = timegm(&before_tm)) == -1) goto err; |