[lxc-devel] [lxc/lxc] 41246c: ensure gnutls is initialized before use

GitHub noreply at github.com
Tue Oct 8 16:48:02 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 41246cee3bc2b4215a485dd5da33d65ae5254514
      https://github.com/lxc/lxc/commit/41246cee3bc2b4215a485dd5da33d65ae5254514
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2013-10-08 (Tue, 08 Oct 2013)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  ensure gnutls is initialized before use

Section 7.1.2 of the gnutls info manual states that it must be
initialized with a call to gnutls_global_init before use. This
fixes the syslog warning I was seeing:

  lxc-create: Libgcrypt warning: missing initialization -
        please fix the application

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>





More information about the lxc-devel mailing list