summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kexdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/kexdh.c')
-rw-r--r--usr.bin/ssh/kexdh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/kexdh.c b/usr.bin/ssh/kexdh.c
index 133b743b4ed..799f0e80081 100644
--- a/usr.bin/ssh/kexdh.c
+++ b/usr.bin/ssh/kexdh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kexdh.c,v 1.31 2019/01/21 10:35:09 djm Exp $ */
+/* $OpenBSD: kexdh.c,v 1.32 2019/01/21 10:40:11 djm Exp $ */
/*
* Copyright (c) 2019 Markus Friedl. All rights reserved.
*
@@ -124,7 +124,7 @@ kex_dh_keypair(struct kex *kex)
BN_print_fp(stderr, pub_key);
fprintf(stderr, "\n");
#endif
- kex->kem_client_pub = buf;
+ kex->client_pub = buf;
buf = NULL;
out:
sshbuf_free(buf);