MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / FindNextTest

Method FindNextTest

tests/test_crypto.cpp:187–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 ~NISTTestVectorFile() { if ( f ) fclose( f ); }
186
187 bool FindNextTest()
188 {
189 if ( !f )
190 return false;
191 char line[2048];
192 while ( fgets( line, sizeof(line), f ) )
193 {
194 if ( V_strnicmp( line, "count", 5 ) == 0 )
195 return true;
196 }
197 return false;
198 }
199
200 bool GetBinaryBlob( const char *pszTag, std::string &blob )
201 {

Calls 1

V_strnicmpFunction · 0.85

Tested by

no test coverage detected