This changes EVP's cipher and digest code to hook via the ENGINE support.
See crypto/engine/README for details. - it also removes openbsd_hw.c from the build (that functionality is going to be available in the openbsd ENGINE in a upcoming commit) - evp_test has had the extra initialisation added so it will use (if possible) any ENGINEs supporting the algorithms required.
This commit is contained in:
		| @@ -52,6 +52,12 @@ | ||||
| #include <openssl/rsa.h> | ||||
| #include "evp_locl.h" | ||||
|  | ||||
| /* This stuff should now all be supported through | ||||
|  * crypto/engine/hw_openbsd_dev_crypto.c unless I botched it up */ | ||||
| static void *dummy=&dummy; | ||||
|  | ||||
| #if 0 | ||||
|  | ||||
| /* check flag after OpenSSL headers to ensure make depend works */ | ||||
| #ifdef OPENSSL_OPENBSD_DEV_CRYPTO | ||||
|  | ||||
| @@ -437,3 +443,4 @@ const EVP_MD *EVP_dev_crypto_md5(void) | ||||
|     { return &md5_md; } | ||||
|  | ||||
| #endif | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoff Thorpe
					Geoff Thorpe