replace EVP_MD_CTX_verify() stuff with RSA_verify()/ECDSA_verify()

since the EVP_MD_CTX stuff doesn't seem to exist on osx at all.
This commit is contained in:
Klas Lindfors
2015-03-20 14:02:24 +01:00
parent 8ada864df9
commit 9db6d3d45a
3 changed files with 75 additions and 46 deletions
+2
View File
@@ -45,5 +45,7 @@ unsigned char get_algorithm(EVP_PKEY*);
FILE *open_file(const char*, int);
int get_object_id(enum enum_slot slot);
bool set_component_with_len(unsigned char**, const BIGNUM*, int);
bool prepare_rsa_signature(const unsigned char*, unsigned int, unsigned char*,
unsigned int*, int);
#endif