diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-26 10:09:36 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-26 10:09:36 +0000 |
commit | 31be2daa06d19dc5d24daf0376e47e4b820607b3 (patch) | |
tree | 06d640d2dfe5fb7152ba9df2a7825ad467ed3c4e | |
parent | de868e0b94c4f2ae9cfbe6bfd2fa0d70f62be217 (diff) | |
download | openssl-31be2daa06d19dc5d24daf0376e47e4b820607b3.tar.gz |
Small bugfixes to the KSSL implementation.
PR: 349
-rw-r--r-- | ssl/kssl.h | 3 | ||||
-rw-r--r-- | ssl/ssl3.h | 2 | ||||
-rw-r--r-- | ssl/ssltest.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/ssl/kssl.h b/ssl/kssl.h index 0cfd219bf4..cf7ebdd168 100644 --- a/ssl/kssl.h +++ b/ssl/kssl.h @@ -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 diff --git a/ssl/ssl3.h b/ssl/ssl3.h index b829791abd..796dcbc528 100644 --- a/ssl/ssl3.h +++ b/ssl/ssl3.h @@ -233,7 +233,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 diff --git a/ssl/ssltest.c b/ssl/ssltest.c index c60a8acddb..fbdd2a9c41 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -766,7 +766,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); |