aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_pwd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-16 23:20:10 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-16 23:20:10 (GMT)
commit453553698c21d6fcc80499e34664128a47de6a36 (patch)
tree260ce6144ac7e7dfb2c9c965e0682cc7b201c666 /src/eap_peer/eap_pwd.c
parentafbe57d981042f5abcd7c21016c6979016bbc81f (diff)
downloadhostap-453553698c21d6fcc80499e34664128a47de6a36.zip
hostap-453553698c21d6fcc80499e34664128a47de6a36.tar.gz
hostap-453553698c21d6fcc80499e34664128a47de6a36.tar.bz2
EAP-pwd: Remove unnecessary OpenSSL EVP_sha256() registration
This gets registered in tls_openssl.c from tls_init(), so there is no need for EAP-pwd implementation to register explicitly. This avoids some corner cases where OpenSSL resources do not get fully freed on exit. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_peer/eap_pwd.c')
-rw-r--r--src/eap_peer/eap_pwd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/eap_peer/eap_pwd.c b/src/eap_peer/eap_pwd.c
index 1c915ed..059bbee 100644
--- a/src/eap_peer/eap_pwd.c
+++ b/src/eap_peer/eap_pwd.c
@@ -952,7 +952,6 @@ int eap_peer_pwd_register(void)
struct eap_method *eap;
int ret;
- EVP_add_digest(EVP_sha256());
eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION,
EAP_VENDOR_IETF, EAP_TYPE_PWD, "PWD");
if (eap == NULL)