diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h index f7e13bc8884..95470a066a3 100644 --- a/lib/util/samba_util.h +++ b/lib/util/samba_util.h @@ -543,14 +543,6 @@ char *smb_xstrndup(const char *s, size_t n); **/ _PUBLIC_ void *smb_memdup(const void *p, size_t size); -/** - * Write a password to the log file. - * - * @note Only actually does something if DEBUG_PASSWORD was defined during - * compile-time. - */ -_PUBLIC_ void dump_data_pw(const char *msg, const uint8_t * data, size_t len); - /** * see if a range of memory is all zero. A NULL pointer is considered * to be all zero diff --git a/lib/util/util.h b/lib/util/util.h index 072f0486234..278fd6b2cfd 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -79,4 +79,12 @@ _PUBLIC_ void dump_data_file_diff(FILE *f, const uint8_t *buf1, size_t len1, const uint8_t *buf2, size_t len2); +/** + * Write a password to the log file. + * + * @note Only actually does something if DEBUG_PASSWORD was defined during + * compile-time. + */ +_PUBLIC_ void dump_data_pw(const char *msg, const uint8_t * data, size_t len); + #endif