From a01b5249c529829f47774d15b890b4716e935068 Mon Sep 17 00:00:00 2001 From: Alex Light Date: Mon, 27 Mar 2017 10:15:27 -0700 Subject: Make base64 explicitly check dst_size for nullptr Also moved it out of utils.h and into common_runtime_test.h since it is only used for tests. Test: ./test.py --host -j40 Change-Id: Ib3c18cb510be833928482c0b2f47f9fb02933f7f --- runtime/utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'runtime/utils.h') diff --git a/runtime/utils.h b/runtime/utils.h index 24fd2053f5..2011d9eba4 100644 --- a/runtime/utils.h +++ b/runtime/utils.h @@ -70,8 +70,6 @@ static inline uint32_t PointerToLowMemUInt32(const void* p) { return intp & 0xFFFFFFFFU; } -uint8_t* DecodeBase64(const char* src, size_t* dst_size); - std::string PrintableChar(uint16_t ch); // Returns an ASCII string corresponding to the given UTF-8 string. -- cgit v1.2.3-59-g8ed1b