Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2014-12-17 03:11:35 +0300
committerAdam Langley <agl@google.com>2015-01-06 03:27:22 +0300
commitb9e0ccc6504fe4a8fc8780c948833f1dfa1ebf16 (patch)
tree96e6870fab286e7ef73a06b970a9f13f8c14de8d /crypto/x509
parenta7f6d3c1dcf38b5312ab6f30cd2a14d07f20ba8c (diff)
Fix a couple of minor compiler warnings.
One about a possible uninitialised variable (incorrect, but it's easier to keep the compiler happy) and one warning about "const static" being backwards. Change-Id: Ic5976a5f0b48f32e09682e31b65d8ea1c27e5b88 Reviewed-on: https://boringssl-review.googlesource.com/2632 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index 030d3ce2..99d55bc8 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -1900,7 +1900,7 @@ ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm)
ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s,
int offset_day, long offset_sec, time_t *in_tm)
{
- time_t t;
+ time_t t = 0;
if (in_tm) t = *in_tm;
else time(&t);