ipchat-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ipchat-devel] simple patch for error on centos 6


From: ml
Subject: Re: [ipchat-devel] simple patch for error on centos 6
Date: Fri, 06 Jul 2012 04:40:20 +0200

better patch

address@hidden ipchat-0.5]$ diff -iu src/tls.c.old src/tls.c
--- src/tls.c.old       2012-07-06 04:35:26.128510215 +0200
+++ src/tls.c   2012-07-06 02:23:13.073593186 +0200
@@ -263,10 +263,12 @@
        /* check the authentication type used and switch to the appropriate */
        cred = gnutls_auth_get_type (session);
        switch (cred) {
+#ifdef ENABLE_SRP  
        case GNUTLS_CRD_SRP:
                ui_output_info ("\\b\\2-\\0 SRP session with username %s",
                                gnutls_srp_server_get_username (session));
                break;
+#endif /* ENABLE_SRP */ 
        case GNUTLS_CRD_ANON:   /* anonymous authentication */
                ui_output_info ("\\b\\2-\\0 Anonymous DH using prime of "
                                "%d bits", gnutls_dh_get_prime_bits (session));



Le vendredi 06 juillet 2012 à 02:30 +0200, ml a écrit :
> hello guys
> 
> 
> this is a simple patch for remove error on centos 6 build
> on centos 5 build fine
> 
> 
> 
> --- src/tls.c 2012-07-06 02:23:13.073593186 +0200
> +++ src/tls.c~        2007-07-06 18:53:49.000000000 +0200
> @@ -263,12 +263,10 @@
>       /* check the authentication type used and switch to the appropriate */
>       cred = gnutls_auth_get_type (session);
>       switch (cred) {
> -#ifdef ENABLE_SRP  
>       case GNUTLS_CRD_SRP:
>               ui_output_info ("\\b\\2-\\0 SRP session with username %s",
>                               gnutls_srp_server_get_username (session));
>               break;
> -#endif /* ENABLE_SRP */ 
>       case GNUTLS_CRD_ANON:   /* anonymous authentication */
>               ui_output_info ("\\b\\2-\\0 Anonymous DH using prime of "
>                               "%d bits", gnutls_dh_get_prime_bits (session));
> 
> 
> 
> the patch adds can be side effects but it can solve the problems of
> compiling on centos 6.2
> 
> 
> 
> _______________________________________________
> ipchat-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ipchat-devel

-- 
  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
  gpg --keyserver pgp.mit.edu --recv-key C2626742

  http://urlshort.eu fakessh @
  http://gplus.to/sshfake
  http://gplus.to/sshswilting
  http://gplus.to/john.swilting
  https://lists.fakessh.eu/mailman/
  This list is moderated by me, but all applications will be accepted
  provided they receive a note of presentation

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

[Prev in Thread] Current Thread [Next in Thread]