#include <unistd.h>
#include <mLib/dstr.h>
+#include <mLib/macros.h>
#include "passphrase.h"
#include "pixie.h"
char b[1024];
DRESET(&d);
dstr_putf(&d, "Verify passphrase %s: ", tag);
- if (pixie_getpass(d.buf, b, sizeof(b)) || strcmp(b, buf) != 0) {
+ if (pixie_getpass(d.buf, b, sizeof(b)) || STRCMP(b, !=, buf)) {
memset(b, 0, sizeof(b));
goto fail;
}