#include "getdef.h"
#include "prototypes.h"
#include "shadowlog.h"
+#include "string/sprintf/stprintf.h"
#include "string/strcmp/streq.h"
#undef NDEBUG
*/
assert (GENSALT_SETTING_SIZE > buf_begin + 17);
- (void) snprintf (buf + buf_begin, 18, "rounds=%lu$", rounds);
+ stprintf(buf + buf_begin, 18, "rounds=%lu$", rounds);
}
#ifdef USE_BCRYPT
*/
assert (GENSALT_SETTING_SIZE > buf_begin + 3);
- (void) snprintf (buf + buf_begin, 4, "%2.2lu$", rounds);
+ stprintf(buf + buf_begin, 4, "%2.2lu$", rounds);
}
#endif /* USE_BCRYPT */