diff options
Diffstat (limited to 'authfd.c')
-rw-r--r-- | authfd.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfd.c,v 1.105 2017/07/01 13:50:45 djm Exp $ */ | 1 | /* $OpenBSD: authfd.c,v 1.106 2018/01/23 05:27:21 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -353,8 +353,6 @@ ssh_agent_sign(int sock, const struct sshkey *key, | |||
353 | 353 | ||
354 | if (datalen > SSH_KEY_MAX_SIGN_DATA_SIZE) | 354 | if (datalen > SSH_KEY_MAX_SIGN_DATA_SIZE) |
355 | return SSH_ERR_INVALID_ARGUMENT; | 355 | return SSH_ERR_INVALID_ARGUMENT; |
356 | if (compat & SSH_BUG_SIGBLOB) | ||
357 | flags |= SSH_AGENT_OLD_SIGNATURE; | ||
358 | if ((msg = sshbuf_new()) == NULL) | 356 | if ((msg = sshbuf_new()) == NULL) |
359 | return SSH_ERR_ALLOC_FAIL; | 357 | return SSH_ERR_ALLOC_FAIL; |
360 | if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) | 358 | if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) |