diff options
author | Damien Miller <djm@mindrot.org> | 2013-12-07 10:41:55 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-12-07 10:41:55 +1100 |
commit | bcd00abd8451f36142ae2ee10cc657202149201e (patch) | |
tree | 946db23f1ec607d9260e46b9f6f2422e0e9c970c /key.c | |
parent | f0e9060d236c0e38bec2fa1c6579fb0a2ea6458d (diff) |
- markus@cvs.openbsd.org 2013/12/06 13:34:54
[authfile.c authfile.h cipher.c cipher.h key.c packet.c ssh-agent.c]
[ssh-keygen.c PROTOCOL.key] new private key format, bcrypt as KDF by
default; details in PROTOCOL.key; feedback and lots help from djm;
ok djm@
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: key.c,v 1.107 2013/12/06 13:30:08 markus Exp $ */ | 1 | /* $OpenBSD: key.c,v 1.108 2013/12/06 13:34:54 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * read_bignum(): | 3 | * read_bignum(): |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1892,6 +1892,7 @@ key_certify(Key *k, Key *ca) | |||
1892 | if (!key_cert_is_legacy(k)) | 1892 | if (!key_cert_is_legacy(k)) |
1893 | buffer_put_string(&k->cert->certblob, nonce, sizeof(nonce)); | 1893 | buffer_put_string(&k->cert->certblob, nonce, sizeof(nonce)); |
1894 | 1894 | ||
1895 | /* XXX this substantially duplicates to_blob(); refactor */ | ||
1895 | switch (k->type) { | 1896 | switch (k->type) { |
1896 | case KEY_DSA_CERT_V00: | 1897 | case KEY_DSA_CERT_V00: |
1897 | case KEY_DSA_CERT: | 1898 | case KEY_DSA_CERT: |