|
Lines 41-46
Link Here
|
| 41 |
#include <sys/stat.h> |
41 |
#include <sys/stat.h> |
| 42 |
|
42 |
|
| 43 |
#ifdef WITH_OPENSSL |
43 |
#ifdef WITH_OPENSSL |
|
|
44 |
# include <openssl/err.h> |
| 44 |
# include <openssl/evp.h> |
45 |
# include <openssl/evp.h> |
| 45 |
# include "openbsd-compat/openssl-compat.h" |
46 |
# include "openbsd-compat/openssl-compat.h" |
| 46 |
#endif |
47 |
#endif |
|
Lines 302-307
add_file(int agent_fd, const char *filename, int key_only, int qflag,
Link Here
|
| 302 |
"Error loading key \"%s\": %s\n", |
303 |
"Error loading key \"%s\": %s\n", |
| 303 |
filename, ssh_err(r)); |
304 |
filename, ssh_err(r)); |
| 304 |
fail_load: |
305 |
fail_load: |
|
|
306 |
if (r == SSH_ERR_LIBCRYPTO_ERROR) { |
| 307 |
ERR_load_crypto_strings(); |
| 308 |
ERR_print_errors_fp(stderr); |
| 309 |
} |
| 305 |
clear_pass(); |
310 |
clear_pass(); |
| 306 |
sshbuf_free(keyblob); |
311 |
sshbuf_free(keyblob); |
| 307 |
return -1; |
312 |
return -1; |