Bugzilla – Attachment 3457 Details for
Bug 3233
Error loading key ".ssh/id_rsa": error in libcrypto
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
print libcrypto errors in ssh-add
printcryptoerr.diff (text/plain), 629 bytes, created by
Damien Miller
on 2020-11-23 09:56:37 AEDT
(
hide
)
Description:
print libcrypto errors in ssh-add
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2020-11-23 09:56:37 AEDT
Size:
629 bytes
patch
obsolete
>diff --git a/ssh-add.c b/ssh-add.c >index 28d5bea38..f50736517 100644 >--- a/ssh-add.c >+++ b/ssh-add.c >@@ -41,6 +41,7 @@ > #include <sys/stat.h> > > #ifdef WITH_OPENSSL >+# include <openssl/err.h> > # include <openssl/evp.h> > # include "openbsd-compat/openssl-compat.h" > #endif >@@ -302,6 +303,10 @@ add_file(int agent_fd, const char *filename, int key_only, int qflag, > "Error loading key \"%s\": %s\n", > filename, ssh_err(r)); > fail_load: >+ if (r == SSH_ERR_LIBCRYPTO_ERROR) { >+ ERR_load_crypto_strings(); >+ ERR_print_errors_fp(stderr); >+ } > clear_pass(); > sshbuf_free(keyblob); > return -1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3233
:
3457
|
3469