From: Nikos Mavrogiannopoulos Date: Wed, 27 Jul 2011 13:51:19 +0000 (+0200) Subject: gnutls_global_init_extra() is not needed for SRP. X-Git-Tag: gnutls_3_0_0~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dde838cc7d5c8d61162c2e6900a18397ddaab592;p=thirdparty%2Fgnutls.git gnutls_global_init_extra() is not needed for SRP. --- diff --git a/doc/examples/ex-client-srp.c b/doc/examples/ex-client-srp.c index a7109b6167..905aab1a2a 100644 --- a/doc/examples/ex-client-srp.c +++ b/doc/examples/ex-client-srp.c @@ -34,11 +34,6 @@ main (void) gnutls_global_init (); - /* now enable the gnutls-extra library which contains the - * SRP stuff. - */ - gnutls_global_init_extra (); - gnutls_srp_allocate_client_credentials (&srp_cred); gnutls_certificate_allocate_credentials (&cert_cred); diff --git a/doc/examples/ex-serv-srp.c b/doc/examples/ex-serv-srp.c index 96a0a7432e..880c4294e9 100644 --- a/doc/examples/ex-serv-srp.c +++ b/doc/examples/ex-serv-srp.c @@ -72,10 +72,7 @@ main (void) strcpy (name, "Echo Server"); - /* these must be called once in the program - */ gnutls_global_init (); - gnutls_global_init_extra (); /* for SRP */ /* SRP_PASSWD a password file (created with the included srptool utility) */