Fix use of strncpy, which is actually good to use memcpy.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 6 Sep 2018 02:41:13 +0000 (11:41 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 6 Sep 2018 02:41:13 +0000 (11:41 +0900)
commit625ced6e672daa892d334323cce6b3d42a6f929f
treed9f27ee4abbdaacdfcde37535bad9bc2fadb5125
parent23738c9530518c5e35da6ac22f695b7ee16ac32d
Fix use of strncpy, which is actually good to use memcpy.

* common/ssh-utils.c (get_fingerprint): Use memcpy.
* g10/build-packet.c (string_to_notation): Use memcpy.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
common/ssh-utils.c
g10/build-packet.c