On the ocsp-verification branch: Avoid using a deprecated function
with OpenSSL 1.1.

* SConstruct (SERF_NO_SSL_ASN1_STRING_GET0_DATA):
   Define if the ASN1_STRING_get0_data() is not available.

* buckets/ssl_buckets.c (ASN1_STRING_get0_data):
   Add optional replacement macro for the new function.
  (convert_asn1_generalized_time): Update implementation.


git-svn-id: https://svn.apache.org/repos/asf/serf/branches/ocsp-verification@1830700 13f79535-47bb-0310-9956-ffa450edef68
2 files changed