[Pidgin] #4646: gnutls tls handshake msn (reopening the Ticket #3456)

Pidgin trac at pidgin.im
Wed Jan 23 05:06:56 EST 2008


#4646: gnutls tls handshake msn (reopening the Ticket #3456)
------------------------+---------------------------------------------------
  Reporter:  backslash  |       Owner:  khc  
      Type:  defect     |      Status:  new  
  Priority:  minor      |   Milestone:       
 Component:  MSN        |     Version:  2.3.1
Resolution:             |    Keywords:       
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by backslash):

 Replying to [comment:3 khc]:
 > What happens if you use pidgin 2.2.1 with gnutls 2.2.0?
 I compiled pidgin 2.2.1 with gnutls 2.2.0.
 To do this I needed to make a modification in ssl-gnutls.c since I had the
 following error due to a different number of parameters needed by
 gnutls_x509_crt_get_dn_by_oid

 ssl-gnutls.c: In function `x509_common_name':[[BR]]

 ssl-gnutls.c:840: warning: passing arg 4 of
 `gnutls_x509_crt_get_dn_by_oid' makes integer from pointer without a
 cast[[BR]]

 ssl-gnutls.c:840: error: too few arguments to function
 `gnutls_x509_crt_get_dn_by_oid'[[BR]]

 ssl-gnutls.c:850: warning: passing arg 4 of
 `gnutls_x509_crt_get_dn_by_oid' makes integer from pointer without a
 cast[[BR]]

 ssl-gnutls.c:850: error: too few arguments to function
 `gnutls_x509_crt_get_dn_by_oid'[[BR]]


         ret = gnutls_x509_crt_get_dn_by_oid(cert_dat,[[BR]]

 GNUTLS_OID_X520_COMMON_NAME,[[BR]]

                                             0, /* Not in raw mode */[[BR]]

                                             cn, &cn_size);[[BR]]


 I put a 0 ,0 as 3rd and 4th parameter2.


 The build was OK but I had the same error.

 But I've to say one thing: in my office we have 2 proxys: let's call them
 proxy1 and proxy2
 I'm experiencig this problems with proxy1. All it's ok with pidgin 2.3.1
 on proxy2 BUT, a collegue of mine that hasn't yet migrated to pidgin2.3.1
 is still working OK on proxy1
 I can't understand where's the difference among the 2 proxys

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4646#comment:4>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list