EVP_PKEY_free(pkey);
# endif /* ifdef HAVE_GNUTLS */
+#else
+ certificate_file = NULL;
+ private_key_file = NULL;
+ cb = NULL;
#endif /* ifdef HAVE_SIGNATURE */
return NULL;
} /* eet_identity_open */
EVP_PKEY_free(key->private_key);
# endif /* ifdef HAVE_GNUTLS */
free(key);
+#else
+ key = NULL;
#endif /* ifdef HAVE_SIGNATURE */
} /* eet_identity_close */
X509_print_fp(out, key->certificate);
# endif /* ifdef HAVE_GNUTLS */
#else /* ifdef HAVE_SIGNATURE */
+ key = NULL;
+ out = NULL;
ERR("You need to compile signature support in EET.");
#endif /* ifdef HAVE_SIGNATURE */
} /* eet_identity_print */
# endif /* ifdef HAVE_OPENSSL */
# endif /* ifdef HAVE_GNUTLS */
#else /* ifdef HAVE_SIGNATURE */
+ data_base = NULL;
+ data_length = 0;
+ sha1_length = NULL;
result = NULL;
#endif /* ifdef HAVE_SIGNATURE */
munmap(data, st_buf.st_size);
return err;
#else /* ifdef HAVE_SIGNATURE */
+ fp = NULL;
+ key = NULL;
return EET_ERROR_NOT_IMPLEMENTED;
#endif /* ifdef HAVE_SIGNATURE */
} /* eet_identity_sign */
return cert_der;
#else /* ifdef HAVE_SIGNATURE */
+ data_base = NULL;
+ data_length = 0;
+ sha1 = NULL;
+ sha1_length = NULL;
+ signature_base = NULL;
+ signature_length = 0;
+ raw_signature_base = NULL;
+ raw_signature_length = NULL;
+ x509_length = NULL;
return NULL;
#endif /* ifdef HAVE_SIGNATURE */
} /* eet_identity_check */
X509_free(x509);
# endif /* ifdef HAVE_GNUTLS */
#else /* ifdef HAVE_SIGNATURE */
+ certificate = NULL;
+ der_length = 0;
+ out = NULL;
ERR("You need to compile signature support in EET.");
#endif /* ifdef HAVE_SIGNATURE */
} /* eet_identity_certificate_print */