]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- djm@cvs.openbsd.org 2013/12/27 22:37:18
authorDamien Miller <djm@mindrot.org>
Sun, 29 Dec 2013 06:48:15 +0000 (17:48 +1100)
committerDamien Miller <djm@mindrot.org>
Sun, 29 Dec 2013 06:48:15 +0000 (17:48 +1100)
     [ssh-rsa.c]
     correct comment

ChangeLog
ssh-rsa.c

index 442dec3e9d1690eab7b07ae1b824210c47cc7a54..fe048ae51bf9dfdb192c77197a8e5df9feb83aaf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,9 @@
      the ECDSA/Ed25519 ones: use key_type_plain() when checking the key type
      rather than tediously listing all variants, use __func__ for debug/
      error messages
+   - djm@cvs.openbsd.org 2013/12/27 22:37:18
+     [ssh-rsa.c]
+     correct comment
 
 20131221
  - (dtucker) [regress/keytype.sh] Actually test ecdsa key types.
index 782c855730081e0a24950adcdb416a6525866bea..6e28bb4a697e2b8985a9b12cbe95e6844a1a4045 100644 (file)
--- a/ssh-rsa.c
+++ b/ssh-rsa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-rsa.c,v 1.47 2013/12/27 22:30:17 djm Exp $ */
+/* $OpenBSD: ssh-rsa.c,v 1.48 2013/12/27 22:37:18 djm Exp $ */
 /*
  * Copyright (c) 2000, 2003 Markus Friedl <markus@openbsd.org>
  *
@@ -202,8 +202,8 @@ static const u_char id_sha1[] = {
  */
 static const u_char id_md5[] = {
        0x30, 0x20, /* type Sequence, length 0x20 (32) */
-       0x30, 0x0c, /* type Sequence, length 0x09 */
-       0x06, 0x08, /* type OID, length 0x05 */
+       0x30, 0x0c, /* type Sequence, length 0x0c (12) */
+       0x06, 0x08, /* type OID, length 0x08 */
        0x2a, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05, /* id-md5 */
        0x05, 0x00, /* NULL */
        0x04, 0x10  /* Octet string, length 0x10 (16), followed by md5 hash */