List Info

Thread: OpenSSL: openssl/crypto/bio/ b_sock.c




OpenSSL: openssl/crypto/bio/ b_sock.c
country flaguser name
Germany
2007-09-16 13:35:06
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
16-Sep-2007 20:35:03
  Branch: HEAD                             Handle:
2007091619350200

  Modified files:
    openssl/crypto/bio      b_sock.c

  Log:
    It's inappropraite to override application signal, nor
is it appropriate
    to shut down Winsock unless we know it won't be used
[and we never do].
    PR: 1439

  Summary:
    Revision    Changes     Path
    1.47        +1  -9      openssl/crypto/bio/b_sock.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/crypto/bio/b_sock.c
 
============================================================
================
  $ cvs diff -u -r1.46 -r1.47 b_sock.c
  --- openssl/crypto/bio/b_sock.c	11 Apr 2006 21:34:18
-0000	1.46
  +++ openssl/crypto/bio/b_sock.c	16 Sep 2007 18:35:02
-0000	1.47
   -463,9 +463,6 
   		{
   		int err;
   	  
  -#ifdef SIGINT
  -		signal(SIGINT,(void (*)(int))BIO_sock_cleanup);
  -#endif
   		wsa_init_done=1;
   		memset(&wsa_state,0,sizeof(wsa_state));
   		/* Not making wsa_state available to the rest of the
   -496,11 +493,6 
   
       if (!wsa_init_done)
       {
  -   
  -# ifdef SIGINT
  -        signal(SIGINT,(void (*)(int))BIO_sock_cleanup);
  -# endif
  -
           wsa_init_done=1;
           wVerReq = MAKEWORD( 2, 0 );
           err = WSAStartup(wVerReq,&wsaData);
   -522,7 +514,7 
   	if (wsa_init_done)
   		{
   		wsa_init_done=0;
  -#ifndef OPENSSL_SYS_WINCE
  +#if 0		/* this call is claimed to be non-present in
Winsock2 */
   		WSACancelBlockingCall();
   #endif
   		WSACleanup();
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )