From 2a39eaeec7602034fcca6b6112369274cca8454b Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Tue, 21 Oct 2014 17:35:54 -0400 Subject: [PATCH] Don't condition on another header's #include guard. This was there since OpenSSL's initial commit and doesn't appear to serve any purpose anymore. There's also an instance in x509_vfy.h, but this does not actually appear to be a no-op because the headers include each other. Change-Id: I6dee04538bdb3fd91a5da3c71c9d0027443b6bbc Reviewed-on: https://boringssl-review.googlesource.com/2020 Reviewed-by: Adam Langley --- include/openssl/ssl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 21686132..f2684f83 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1987,9 +1987,7 @@ OPENSSL_EXPORT int SSL_set_generate_session_id(SSL *, GEN_SESSION_CB); OPENSSL_EXPORT int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id, unsigned int id_len); OPENSSL_EXPORT SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a,const unsigned char **pp, long length); -#ifdef HEADER_X509_H OPENSSL_EXPORT X509 * SSL_get_peer_certificate(const SSL *s); -#endif OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s);