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>
This commit is contained in:
parent
afbe57d981
commit
453553698c
2 changed files with 0 additions and 3 deletions
|
@ -1028,8 +1028,6 @@ int eap_server_pwd_register(void)
|
|||
struct timezone tz;
|
||||
u32 sr;
|
||||
|
||||
EVP_add_digest(EVP_sha256());
|
||||
|
||||
sr = 0xdeaddada;
|
||||
(void) gettimeofday(&tp, &tz);
|
||||
sr ^= (tp.tv_sec ^ tp.tv_usec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue