Bug 1061483 follow-up: remove now-unused deleteCharArray function, r=me, a=bustage
--- a/security/pkix/test/lib/pkixtestutil.cpp
+++ b/security/pkix/test/lib/pkixtestutil.cpp
@@ -48,22 +48,16 @@ namespace mozilla { namespace pkix { nam
static const uint8_t alg_sha256WithRSAEncryption[] = {
0x30, 0x0b, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b
};
const Input sha256WithRSAEncryption(alg_sha256WithRSAEncryption);
namespace {
inline void
-deleteCharArray(char* chars)
-{
- delete[] chars;
-}
-
-inline void
fclose_void(FILE* file) {
(void) fclose(file);
}
typedef mozilla::pkix::ScopedPtr<FILE, fclose_void> ScopedFILE;
FILE*
OpenFile(const string& dir, const string& filename, const string& mode)