diff options
author | Damien Miller <djm@mindrot.org> | 2012-06-20 21:52:18 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2012-06-20 21:52:18 +1000 |
commit | 276dcfd7f768300fb1d72abcd097d718ad72475a (patch) | |
tree | 8bd0658f59fd65e204b225c2a4bde833ad87a639 /jpake.c | |
parent | 2e7decfcc0bd337e90649a62599e3ee8f1321b68 (diff) |
- dtucker@cvs.openbsd.org 2012/06/18 11:43:53
[jpake.c]
correct sizeof usage. patch from saw at online.de, ok deraadt
Diffstat (limited to 'jpake.c')
-rw-r--r-- | jpake.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: jpake.c,v 1.6 2010/09/20 04:54:07 djm Exp $ */ +/* $OpenBSD: jpake.c,v 1.7 2012/06/18 11:43:53 dtucker Exp $ */ /* * Copyright (c) 2008 Damien Miller. All rights reserved. * @@ -133,7 +133,7 @@ jpake_free(struct jpake_ctx *pctx) #undef JPAKE_BN_CLEAR_FREE #undef JPAKE_BUF_CLEAR_FREE - bzero(pctx, sizeof(pctx)); + bzero(pctx, sizeof(*pctx)); xfree(pctx); } |