Lines Matching refs:error
22 const char *error = NULL;
25 bool ret = dcrypt_key_load_public(&pub_key, buf, &error);
27 i_error("dcrypt_key_load_public failed: %s", error);
37 if (!dcrypt_key_id_public(pub_key, "sha256", hash, &error)) {
38 i_error("dcrypt_key_id_public failed: %s", error);
45 if (!dcrypt_key_id_public_old(pub_key, hash, &error)) {
47 error);
60 const char *error = NULL;
64 &error);
66 i_error("dcrypt_key_load_private failed: %s", error);
76 if (!dcrypt_key_id_private(priv_key, "sha256", hash, &error)) {
77 i_error("dcrypt_key_id_private failed: %s", error);
84 if (!dcrypt_key_id_private_old(priv_key, hash, &error)) {
85 i_error("dcrypt_key_id_private_old failed: %s", error);
121 const char *error;
125 &key_hash, &error);
127 if (print) i_error("dcrypt_key_string_get_info failed: %s", error);
203 const char *error = NULL;
204 if (!dcrypt_initialize("openssl", NULL, &error))
205 i_fatal("dcrypt_initialize: %s", error);