Commit 52026772 by Serge Hallyn

lxccontainer: don't define certain variables if !HAVE_GNUTLS

parent 27c27d73
......@@ -874,10 +874,12 @@ bool prepend_lxc_header(char *path, const char *t, char *const argv[])
{
size_t flen;
char *contents, *tpath;
int i, ret;
FILE *f;
#if HAVE_LIBGNUTLS
int i, ret;
unsigned char md_value[SHA_DIGEST_LENGTH];
bool have_tpath = false;
#endif
if ((f = fopen(path, "r")) == NULL) {
SYSERROR("Opening old config");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment