Skip to content

Commit

Permalink
fixup! Add some utilities for testing temporary files
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Oct 29, 2024
1 parent 8dfe5a1 commit a17d94f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ssl/ssl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12882,12 +12882,6 @@ TEST(SSLTest, SSLFileTests) {
GTEST_SKIP();
#endif

struct FileCloser {
void operator()(FILE *f) const { fclose(f); }
};

using ScopedFILE = std::unique_ptr<FILE, FileCloser>;

char rsa_pem_filename[PATH_MAX];
char ecdsa_pem_filename[PATH_MAX];
ASSERT_TRUE(createTempFILEpath(rsa_pem_filename));
Expand Down

0 comments on commit a17d94f

Please sign in to comment.