mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-24 08:58:13 +00:00
Merge pull request #621 from matrix/build_log_size
Request build log only if size > 1 (v2)
This commit is contained in:
commit
0b374d9bde
@ -3761,7 +3761,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
//if (CL_rc == -1) return -1;
|
//if (CL_rc == -1) return -1;
|
||||||
|
|
||||||
#if defined (DEBUG)
|
#if defined (DEBUG)
|
||||||
if ((build_log_size != 0) || (CL_rc == -1))
|
if ((build_log_size > 1) || (CL_rc == -1))
|
||||||
#else
|
#else
|
||||||
if (CL_rc == -1)
|
if (CL_rc == -1)
|
||||||
#endif
|
#endif
|
||||||
@ -3863,7 +3863,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
//if (CL_rc == -1) return -1;
|
//if (CL_rc == -1) return -1;
|
||||||
|
|
||||||
#if defined (DEBUG)
|
#if defined (DEBUG)
|
||||||
if ((build_log_size != 0) || (CL_rc == -1))
|
if ((build_log_size > 1) || (CL_rc == -1))
|
||||||
#else
|
#else
|
||||||
if (CL_rc == -1)
|
if (CL_rc == -1)
|
||||||
#endif
|
#endif
|
||||||
@ -3967,7 +3967,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
//if (CL_rc == -1) return -1;
|
//if (CL_rc == -1) return -1;
|
||||||
|
|
||||||
#if defined (DEBUG)
|
#if defined (DEBUG)
|
||||||
if ((build_log_size != 0) || (CL_rc == -1))
|
if ((build_log_size > 1) || (CL_rc == -1))
|
||||||
#else
|
#else
|
||||||
if (CL_rc == -1)
|
if (CL_rc == -1)
|
||||||
#endif
|
#endif
|
||||||
@ -4109,7 +4109,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
//if (CL_rc == -1) return -1;
|
//if (CL_rc == -1) return -1;
|
||||||
|
|
||||||
#if defined (DEBUG)
|
#if defined (DEBUG)
|
||||||
if ((build_log_size != 0) || (CL_rc == -1))
|
if ((build_log_size > 1) || (CL_rc == -1))
|
||||||
#else
|
#else
|
||||||
if (CL_rc == -1)
|
if (CL_rc == -1)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user