- djm@cvs.openbsd.org 2013/12/27 22:37:18

[ssh-rsa.c]
     correct comment
This commit is contained in:
Damien Miller 2013-12-29 17:48:15 +11:00
parent 3e19295c3a
commit 06122e9a74
2 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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 */