Small bugfixes to the KSSL implementation.
authorRichard Levitte <levitte@openssl.org>
Tue, 26 Nov 2002 10:09:28 +0000 (10:09 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 26 Nov 2002 10:09:28 +0000 (10:09 +0000)
PR: 349

ssl/kssl.h
ssl/ssl3.h
ssl/ssltest.c

index 0cfd219bf4f9c013e9fe35c42da8406ecbcbe668..cf7ebdd168ed9094c312e9258ee5fb4b29d585ef 100644 (file)
@@ -110,13 +110,12 @@ typedef unsigned char krb5_octet;
 #define        KSSL_CLOCKSKEW  300;
 #endif
 
-/* Unused
 #define        KSSL_ERR_MAX    255
 typedef struct kssl_err_st  {
        int  reason;
        char text[KSSL_ERR_MAX+1];
        } KSSL_ERR;
-*/
+
 
 /*     Context for passing
 **             (1) Kerberos session key to SSL, and
index a756556691316b8c8930bc9693e173112d585a42..1153aeda7481c35c89f0dd89302a529d94895ee2 100644 (file)
@@ -228,7 +228,7 @@ extern "C" {
 #define SSL3_TXT_KRB5_RC2_40_CBC_SHA           "EXP-KRB5-RC2-CBC-SHA"
 #define SSL3_TXT_KRB5_RC4_40_SHA               "EXP-KRB5-RC4-SHA"
 #define SSL3_TXT_KRB5_DES_40_CBC_MD5           "EXP-KRB5-DES-CBC-MD5"
-#define SSL3_TXT_KRB5_DES_40_CBC_MD5           "EXP-KRB5-DES-CBC-MD5"
+#define SSL3_TXT_KRB5_RC2_40_CBC_MD5           "EXP-KRB5-RC2-CBC-MD5"
 #define SSL3_TXT_KRB5_RC4_40_MD5               "EXP-KRB5-RC4-MD5"
 
 #define SSL3_SSL_SESSION_ID_LENGTH             32
index 692f6a397ea2eb0a61bc688cc089bfcb9ef30ae6..b18c5e2fc84da39673054e55719030b108dba3bd 100644 (file)
@@ -698,7 +698,7 @@ bad:
                        if(strlen(localhost) == sizeof localhost-1)
                                {
                                BIO_printf(bio_err,"localhost name too long\n");
-                               got end;
+                               goto end;
                                }
                        kssl_ctx_setstring(c_ssl->kssl_ctx, KSSL_SERVER,
                                 localhost);