diff options
Diffstat (limited to 'bufaux.c')
-rw-r--r-- | bufaux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bufaux.c,v 1.39 2006/03/25 13:17:01 djm Exp $ */ | 1 | /* $OpenBSD: bufaux.c,v 1.40 2006/03/25 18:56:54 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -71,7 +71,7 @@ buffer_put_bignum_ret(Buffer *buffer, const BIGNUM *value) | |||
71 | PUT_16BIT(msg, bits); | 71 | PUT_16BIT(msg, bits); |
72 | buffer_append(buffer, msg, 2); | 72 | buffer_append(buffer, msg, 2); |
73 | /* Store the binary data. */ | 73 | /* Store the binary data. */ |
74 | buffer_append(buffer, (char *)buf, oi); | 74 | buffer_append(buffer, buf, oi); |
75 | 75 | ||
76 | memset(buf, 0, bin_size); | 76 | memset(buf, 0, bin_size); |
77 | xfree(buf); | 77 | xfree(buf); |