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