]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Try to ensure we don't throw away the PIN unnecessarily
authorMike Gerow <gerow@google.com>
Thu, 16 Apr 2015 00:57:51 +0000 (17:57 -0700)
committerJouni Malinen <j@w1.fi>
Sat, 25 Apr 2015 13:05:50 +0000 (16:05 +0300)
commitfd4fb28179a0b750dff4d38a72a7bf89a2c49813
tree94c8138564cae2239b3b8bbd74e5a22440e60b82
parentfabc6dd8c47a8fcf0649908490ee22ab9aa794bc
OpenSSL: Try to ensure we don't throw away the PIN unnecessarily

Now on an engine error we decode the error value and determine if the
issue is due to a true PIN error or not. If it is due to incorrrect PIN,
delete the PIN as usual, but if it isn't let the PIN be.

Signed-off-by: Mike Gerow <gerow@google.com>
src/crypto/tls.h
src/crypto/tls_openssl.c
src/eap_peer/eap_tls_common.c