Small bugfixes to the KSSL implementation.
PR: 349
This commit is contained in:
parent
b81ef84227
commit
dc199cfaa2
@ -110,13 +110,12 @@ typedef unsigned char krb5_octet;
|
|||||||
#define KSSL_CLOCKSKEW 300;
|
#define KSSL_CLOCKSKEW 300;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Unused
|
|
||||||
#define KSSL_ERR_MAX 255
|
#define KSSL_ERR_MAX 255
|
||||||
typedef struct kssl_err_st {
|
typedef struct kssl_err_st {
|
||||||
int reason;
|
int reason;
|
||||||
char text[KSSL_ERR_MAX+1];
|
char text[KSSL_ERR_MAX+1];
|
||||||
} KSSL_ERR;
|
} KSSL_ERR;
|
||||||
*/
|
|
||||||
|
|
||||||
/* Context for passing
|
/* Context for passing
|
||||||
** (1) Kerberos session key to SSL, and
|
** (1) Kerberos session key to SSL, and
|
||||||
|
@ -228,7 +228,7 @@ extern "C" {
|
|||||||
#define SSL3_TXT_KRB5_RC2_40_CBC_SHA "EXP-KRB5-RC2-CBC-SHA"
|
#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_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_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_TXT_KRB5_RC4_40_MD5 "EXP-KRB5-RC4-MD5"
|
||||||
|
|
||||||
#define SSL3_SSL_SESSION_ID_LENGTH 32
|
#define SSL3_SSL_SESSION_ID_LENGTH 32
|
||||||
|
@ -698,7 +698,7 @@ bad:
|
|||||||
if(strlen(localhost) == sizeof localhost-1)
|
if(strlen(localhost) == sizeof localhost-1)
|
||||||
{
|
{
|
||||||
BIO_printf(bio_err,"localhost name too long\n");
|
BIO_printf(bio_err,"localhost name too long\n");
|
||||||
got end;
|
goto end;
|
||||||
}
|
}
|
||||||
kssl_ctx_setstring(c_ssl->kssl_ctx, KSSL_SERVER,
|
kssl_ctx_setstring(c_ssl->kssl_ctx, KSSL_SERVER,
|
||||||
localhost);
|
localhost);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user