use SHA-1 as preferred hasher in the OpenSSL plugin
This commit is contained in:
@@ -81,12 +81,12 @@ plugin_t *plugin_create()
|
|||||||
(crypter_constructor_t)openssl_crypter_create);
|
(crypter_constructor_t)openssl_crypter_create);
|
||||||
|
|
||||||
/* hasher */
|
/* hasher */
|
||||||
|
lib->crypto->add_hasher(lib->crypto, HASH_SHA1,
|
||||||
|
(hasher_constructor_t)openssl_hasher_create);
|
||||||
lib->crypto->add_hasher(lib->crypto, HASH_MD2,
|
lib->crypto->add_hasher(lib->crypto, HASH_MD2,
|
||||||
(hasher_constructor_t)openssl_hasher_create);
|
(hasher_constructor_t)openssl_hasher_create);
|
||||||
lib->crypto->add_hasher(lib->crypto, HASH_MD5,
|
lib->crypto->add_hasher(lib->crypto, HASH_MD5,
|
||||||
(hasher_constructor_t)openssl_hasher_create);
|
(hasher_constructor_t)openssl_hasher_create);
|
||||||
lib->crypto->add_hasher(lib->crypto, HASH_SHA1,
|
|
||||||
(hasher_constructor_t)openssl_hasher_create);
|
|
||||||
lib->crypto->add_hasher(lib->crypto, HASH_SHA256,
|
lib->crypto->add_hasher(lib->crypto, HASH_SHA256,
|
||||||
(hasher_constructor_t)openssl_hasher_create);
|
(hasher_constructor_t)openssl_hasher_create);
|
||||||
lib->crypto->add_hasher(lib->crypto, HASH_SHA384,
|
lib->crypto->add_hasher(lib->crypto, HASH_SHA384,
|
||||||
|
|||||||
Reference in New Issue
Block a user