https://bugzilla.mindrot.org/show_bug.cgi?id=2522

Damien Miller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2781|0                           |1
        is obsolete|                            |
                 CC|                            |[email protected],
                   |                            |[email protected]
           Assignee|[email protected] |[email protected]
             Status|NEW                         |ASSIGNED
   Attachment #2806|                            |ok?([email protected])
              Flags|                            |

--- Comment #1 from Damien Miller <[email protected]> ---
Created attachment 2806
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2806&action=edit
translate libcrypto error code on PEM_read_bio_PrivateKey failure

This patch translates a few more error codes, making that function
return either SSH_ERR_KEY_WRONG_PASSPHRASE, SSH_ERR_INVALID_FORMAT or
SSH_ERR_LIBCRYPTO_ERROR.

It also uses ERR_peek_last_error() which AFAIK is what we want.
ERR_peek_error() might be confused by prior soft libcrypto errors in
that process/thread's life.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to