1
0

610-skip-default-keys-in-custom-runs.patch 411 B

123456789101112131415161718
  1. --- a/svr-runopts.c
  2. +++ b/svr-runopts.c
  3. @@ -488,6 +488,7 @@ void load_all_hostkeys() {
  4. m_free(hostkey_file);
  5. }
  6. + if (svr_opts.num_hostkey_files <= 0) {
  7. #ifdef DROPBEAR_RSA
  8. loadhostkey(RSA_PRIV_FILENAME, 0);
  9. #endif
  10. @@ -499,6 +500,7 @@ void load_all_hostkeys() {
  11. #ifdef DROPBEAR_ECDSA
  12. loadhostkey(ECDSA_PRIV_FILENAME, 0);
  13. #endif
  14. + }
  15. #ifdef DROPBEAR_DELAY_HOSTKEY
  16. if (svr_opts.delay_hostkey) {