version 1.35.2.2, 2006/02/03 02:53:44 |
version 1.40, 2006/03/25 18:56:54 |
|
|
|
/* $OpenBSD$ */ |
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
|
|
*/ |
*/ |
|
|
#include "includes.h" |
#include "includes.h" |
RCSID("$OpenBSD$"); |
|
|
|
#include <openssl/bn.h> |
#include <openssl/bn.h> |
#include "bufaux.h" |
#include "bufaux.h" |
|
|
PUT_16BIT(msg, bits); |
PUT_16BIT(msg, bits); |
buffer_append(buffer, msg, 2); |
buffer_append(buffer, msg, 2); |
/* Store the binary data. */ |
/* Store the binary data. */ |
buffer_append(buffer, (char *)buf, oi); |
buffer_append(buffer, buf, oi); |
|
|
memset(buf, 0, bin_size); |
memset(buf, 0, bin_size); |
xfree(buf); |
xfree(buf); |