aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1
diff options
context:
space:
mode:
authorBob Beck <bbe@google.com>2024-01-26 09:39:08 -0700
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-01-26 19:13:18 +0000
commitdb7308de87ea138e7bbcbbb00dfc9b841774ba2f (patch)
treef3fecc50b609de16fa7b220a85751e1747023eec /crypto/asn1
parent625f68bf35248c9f47c964ce782567aafa4e2f55 (diff)
downloadboringssl-db7308de87ea138e7bbcbbb00dfc9b841774ba2f.zip
boringssl-db7308de87ea138e7bbcbbb00dfc9b841774ba2f.tar.gz
boringssl-db7308de87ea138e7bbcbbb00dfc9b841774ba2f.tar.bz2
Rename <openssl/time.h> to <openssl/posix_time.h>
There's a desire to upstream this in a compatible way to other projects so they can use the same public API as us, however for some C based build systems having an include file potentially on the include path that can end up being picked up when you include <time.h> is problematic and annoying, so let's just avoid the unnecessary pain. Update-Note: <openssl/time.h> has moved to <openssl/posix_time.h> Change-Id: I7c6aa92e95a10ff65275851fcf596b06e4848789 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65847 Commit-Queue: Bob Beck <bbe@google.com> Auto-Submit: Bob Beck <bbe@google.com> Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_gentm.c2
-rw-r--r--crypto/asn1/a_time.c2
-rw-r--r--crypto/asn1/a_utctm.c2
-rw-r--r--crypto/asn1/asn1_test.cc2
-rw-r--r--crypto/asn1/posix_time.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/crypto/asn1/a_gentm.c b/crypto/asn1/a_gentm.c
index 64cb1b5..f6f9c46 100644
--- a/crypto/asn1/a_gentm.c
+++ b/crypto/asn1/a_gentm.c
@@ -58,7 +58,7 @@
#include <openssl/bytestring.h>
#include <openssl/err.h>
#include <openssl/mem.h>
-#include <openssl/time.h>
+#include <openssl/posix_time.h>
#include <stdlib.h>
#include <string.h>
diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c
index d8ec85f..d2c672c 100644
--- a/crypto/asn1/a_time.c
+++ b/crypto/asn1/a_time.c
@@ -55,7 +55,7 @@
* [including the GNU Public Licence.] */
#include <openssl/asn1.h>
-#include <openssl/time.h>
+#include <openssl/posix_time.h>
#include <string.h>
#include <time.h>
diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c
index 2963bbe..f21435d 100644
--- a/crypto/asn1/a_utctm.c
+++ b/crypto/asn1/a_utctm.c
@@ -58,7 +58,7 @@
#include <openssl/bytestring.h>
#include <openssl/err.h>
#include <openssl/mem.h>
-#include <openssl/time.h>
+#include <openssl/posix_time.h>
#include <stdlib.h>
#include <string.h>
diff --git a/crypto/asn1/asn1_test.cc b/crypto/asn1/asn1_test.cc
index c2e5f5b..76d6889 100644
--- a/crypto/asn1/asn1_test.cc
+++ b/crypto/asn1/asn1_test.cc
@@ -29,8 +29,8 @@
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/pem.h>
+#include <openssl/posix_time.h>
#include <openssl/span.h>
-#include <openssl/time.h>
#include <openssl/x509.h>
#include "../test/test_util.h"
diff --git a/crypto/asn1/posix_time.c b/crypto/asn1/posix_time.c
index 31d184c..5ac4eeb 100644
--- a/crypto/asn1/posix_time.c
+++ b/crypto/asn1/posix_time.c
@@ -15,7 +15,7 @@
// Time conversion to/from POSIX time_t and struct tm, with no support
// for time zones other than UTC
-#include <openssl/time.h>
+#include <openssl/posix_time.h>
#include <assert.h>
#include <inttypes.h>