diff options
author | Damien Miller <djm@mindrot.org> | 2013-11-07 12:00:23 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-11-07 12:00:23 +1100 |
commit | c98319750b0bbdd0d1794420ec97d65dd9244613 (patch) | |
tree | ccd3dc10e5b285bc77cdf2e35ee04dc699335594 /regress/modpipe.c | |
parent | 61c5c2319e84a58210810d39b062c8b8e3321160 (diff) | |
download | openssh-git-c98319750b0bbdd0d1794420ec97d65dd9244613.tar.gz |
- (djm) [Makefile.in monitor.c] Missed chunks of curve25519 KEX diff
Diffstat (limited to 'regress/modpipe.c')
-rwxr-xr-x | regress/modpipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/modpipe.c b/regress/modpipe.c index 85747cf7..183a5869 100755 --- a/regress/modpipe.c +++ b/regress/modpipe.c @@ -68,7 +68,7 @@ usage(void) #define MAX_MODIFICATIONS 256 struct modification { enum { MOD_XOR, MOD_AND_OR } what; - u_int64_t offset; + unsigned long long offset; u_int8_t m1, m2; }; @@ -79,7 +79,7 @@ parse_modification(const char *s, struct modification *m) int n, m1, m2; bzero(m, sizeof(*m)); - if ((n = sscanf(s, "%16[^:]%*[:]%lli%*[:]%i%*[:]%i", + if ((n = sscanf(s, "%16[^:]%*[:]%llu%*[:]%i%*[:]%i", what, &m->offset, &m1, &m2)) < 3) errx(1, "Invalid modification spec \"%s\"", s); if (strcasecmp(what, "xor") == 0) { |