On Wed, Mar 31, 1999 at 02:06:33PM +0200, [EMAIL PROTECTED] wrote:

>     Changes between 0.9.2b and 0.9.3
>    
>   +  *) Got rid of old SSL2_CLIENT_VERSION (inconsistently used) and
>   +     SSL2_SERVER_VERSION (not used at all) macros, which are now the
>   +     same as SSL2_VERSION anyway.
>   +     [Bodo Moeller]

I hope no-one circumenvented the API and used those macros directly in
any applications?  The comment in ssl.h was wrong, anyway:

>   --- ssl.h   1999/03/22 12:22:03     1.17
>   +++ ssl.h   1999/03/31 12:06:29     1.18
>   @@ -477,10 +477,9 @@
>    
>    struct ssl_st
>       {
>   -   /* procol version
>   -    * 2 for SSLv2
>   -    * 3 for SSLv3
>   -    * -3 for SSLv3 but accept SSLv2 */
>   +   /* protocol version
>   +    * (one of SSL2_VERSION, SSL3_VERSION, TLS1_VERSION)
>   +    */
>       int version;
>       int type; /* SSL_ST_CONNECT or SSL_ST_ACCEPT */
>    
>   
>   Index: ssl2.h
>   ===================================================================
>   RCS file: /e/openssl/cvs/openssl/ssl/ssl2.h,v
>   retrieving revision 1.1.1.2
>   retrieving revision 1.2
>   diff -u -r1.1.1.2 -r1.2
>   --- ssl2.h  1998/12/21 10:55:50     1.1.1.2
>   +++ ssl2.h  1999/03/31 12:06:30     1.2
>   @@ -67,8 +67,8 @@
>    #define SSL2_VERSION               0x0002
>    #define SSL2_VERSION_MAJOR 0x00
>    #define SSL2_VERSION_MINOR 0x02
>   -#define SSL2_CLIENT_VERSION        0x0002
>   -#define SSL2_SERVER_VERSION        0x0002
>   +/* #define SSL2_CLIENT_VERSION     0x0002 */
>   +/* #define SSL2_SERVER_VERSION     0x0002 */
>    
>    /* Protocol Message Codes */
>    #define SSL2_MT_ERROR                      0
>   
>   Index: ssl_sess.c
>   ===================================================================
>   RCS file: /e/openssl/cvs/openssl/ssl/ssl_sess.c,v
>   retrieving revision 1.5
>   retrieving revision 1.6
>   diff -u -r1.5 -r1.6
>   --- ssl_sess.c      1999/03/22 12:22:04     1.5
>   +++ ssl_sess.c      1999/03/31 12:06:30     1.6
>   @@ -150,7 +150,7 @@
>    
>       if (session)
>               {
>   -           if (s->version == SSL2_CLIENT_VERSION)
>   +           if (s->version == SSL2_VERSION)
>                       {
>                       ss->ssl_version=SSL2_VERSION;
>                       ss->session_id_length=SSL2_SSL_SESSION_ID_LENGTH;

-- 
Bodo Möller
Lavielle EDV Systemberatung GmbH & Co.   Tel.:  ++49 40 / 658088
Lotharstrasse 2b, D-22041 Hamburg        Fax.:  ++49 40 / 65808-202
http://www.lavielle.de/                  Email: [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to