... | ... |
@@ -787,7 +787,7 @@ unsigned char *cl_sign_file_fp(FILE *fp, EVP_PKEY *pkey, char *alg, unsigned int |
787 | 787 |
EVP_PKEY *cl_get_pkey_file(char *keypath); |
788 | 788 |
|
789 | 789 |
void *cl_hash_init(const char *alg); |
790 |
-int cl_update_hash(void *ctx, void *data, size_t sz); |
|
790 |
+int cl_update_hash(void *ctx, const void *data, size_t sz); |
|
791 | 791 |
int cl_finish_hash(void *ctx, void *buf); |
792 | 792 |
void cl_hash_destroy(void *ctx); |
793 | 793 |
/* End of crypto/hashing functions */ |