summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libssl/src/ssl/bs_cbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/bs_cbs.c b/lib/libssl/src/ssl/bs_cbs.c
index 81731772496..ea31cfc5300 100644
--- a/lib/libssl/src/ssl/bs_cbs.c
+++ b/lib/libssl/src/ssl/bs_cbs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bs_cbs.c,v 1.14 2015/06/19 00:23:36 doug Exp $ */
+/* $OpenBSD: bs_cbs.c,v 1.15 2015/06/20 01:21:51 doug Exp $ */
/*
* Copyright (c) 2014, Google Inc.
*
@@ -127,7 +127,7 @@ CBS_mem_equal(const CBS *cbs, const uint8_t *data, size_t len)
if (len != cbs->len)
return 0;
- return CRYPTO_memcmp(cbs->data, data, len) == 0;
+ return timingsafe_memcmp(cbs->data, data, len) == 0;
}
static int