From ad87ec871dcf2315d0d222230b296f4f174e02b8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 4 Aug 2018 20:10:19 +0200 Subject: [PATCH] (mbedtls) update asn1parse.c --- deps/mbedtls/asn1parse.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deps/mbedtls/asn1parse.c b/deps/mbedtls/asn1parse.c index 4dd65c03c0..0e5b28eac0 100644 --- a/deps/mbedtls/asn1parse.c +++ b/deps/mbedtls/asn1parse.c @@ -43,10 +43,7 @@ #define mbedtls_free free #endif -/* Implementation that should never be optimized out by the compiler */ -static void mbedtls_zeroize( void *v, size_t n ) { - volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; -} +#include "arc4_alt.h" /* * ASN.1 DER decoding routines