summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/key.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2002-09-09 14:54:14 +0000
committermarkus <markus@openbsd.org>2002-09-09 14:54:14 +0000
commita0952d72ab60de336ca69a175f29e1b9c9870d16 (patch)
tree367c667cce0f73c302bb88d2aef8de510302fe75 /usr.bin/ssh/key.c
parentmove OpenSSL include up (diff)
downloadwireguard-openbsd-a0952d72ab60de336ca69a175f29e1b9c9870d16.tar.xz
wireguard-openbsd-a0952d72ab60de336ca69a175f29e1b9c9870d16.zip
signed vs unsigned from -pedantic; ok henning@
Diffstat (limited to 'usr.bin/ssh/key.c')
-rw-r--r--usr.bin/ssh/key.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/key.c b/usr.bin/ssh/key.c
index 0b03e991454..9806a729a8a 100644
--- a/usr.bin/ssh/key.c
+++ b/usr.bin/ssh/key.c
@@ -32,7 +32,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: key.c,v 1.48 2002/07/04 10:41:47 markus Exp $");
+RCSID("$OpenBSD: key.c,v 1.49 2002/09/09 14:54:14 markus Exp $");
#include <openssl/evp.h>
@@ -494,7 +494,8 @@ key_write(Key *key, FILE *f)
{
int n, success = 0;
u_int len, bits = 0;
- u_char *blob, *uu;
+ u_char *blob;
+ char *uu;
if (key->type == KEY_RSA1 && key->rsa != NULL) {
/* size of modulus 'n' */