parent
3e19295c3a
commit
06122e9a74
|
@ -40,6 +40,9 @@
|
||||||
the ECDSA/Ed25519 ones: use key_type_plain() when checking the key type
|
the ECDSA/Ed25519 ones: use key_type_plain() when checking the key type
|
||||||
rather than tediously listing all variants, use __func__ for debug/
|
rather than tediously listing all variants, use __func__ for debug/
|
||||||
error messages
|
error messages
|
||||||
|
- djm@cvs.openbsd.org 2013/12/27 22:37:18
|
||||||
|
[ssh-rsa.c]
|
||||||
|
correct comment
|
||||||
|
|
||||||
20131221
|
20131221
|
||||||
- (dtucker) [regress/keytype.sh] Actually test ecdsa key types.
|
- (dtucker) [regress/keytype.sh] Actually test ecdsa key types.
|
||||||
|
|
|
@ -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>
|
* 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[] = {
|
static const u_char id_md5[] = {
|
||||||
0x30, 0x20, /* type Sequence, length 0x20 (32) */
|
0x30, 0x20, /* type Sequence, length 0x20 (32) */
|
||||||
0x30, 0x0c, /* type Sequence, length 0x09 */
|
0x30, 0x0c, /* type Sequence, length 0x0c (12) */
|
||||||
0x06, 0x08, /* type OID, length 0x05 */
|
0x06, 0x08, /* type OID, length 0x08 */
|
||||||
0x2a, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05, /* id-md5 */
|
0x2a, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05, /* id-md5 */
|
||||||
0x05, 0x00, /* NULL */
|
0x05, 0x00, /* NULL */
|
||||||
0x04, 0x10 /* Octet string, length 0x10 (16), followed by md5 hash */
|
0x04, 0x10 /* Octet string, length 0x10 (16), followed by md5 hash */
|
||||||
|
|
Loading…
Reference in New Issue