Work around openssl declaring x509_get_not{Before,After} as functions
commit1eb838b30361b0dcc1e2b82815be25391d5a15f1
authorNick Mathewson <nickm@torproject.org>
Tue, 6 Oct 2015 13:04:37 +0000 (6 09:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 6 Oct 2015 13:04:37 +0000 (6 09:04 -0400)
treef911bbfc3af9f67e9dc0675066f357e9fe8bddcc
parentf7ce93d97949fe0897bf8f1b2e95da73c620ff8a
Work around openssl declaring x509_get_not{Before,After} as functions

Now that x509_get_not{Before,After} are functions in OpenSSL 1.1
(not yet releasesd), we need to define a variant that takes a const
pointer to X509 and returns a const pointer to ASN1_time.

Part of 17237. I'm not convinced this is an openssl bug or a tor
bug. It might be just one of those things.
changes/bug17237_027 [new file with mode: 0644]
src/common/tortls.c