One patch more:
I'm using linux (RH8) and I get another error:
undefined MAXHOSTNAMELEN on ssltest.c
solved adding #include <asm/param.h>
With your patches, now I can compile OpenSSL-0.9.7b4 on RH8 with krb5
(MIT)
Ricardo.-
El mar, 19-11-2002 a las 16:25, Jeffrey Altman via RT escribi�:
>
> The following minor problems need to be corrected in 0.9.7 b4 compiled
> against the MIT Kerberos distribution:
>
> diff -cw openssl-0.9.7-beta4\ssl/kssl.h openssl-0.9.7-beta4-modified\ssl/kssl.h
> *** openssl-0.9.7-beta4\ssl/kssl.h Tue Nov 12 08:23:26 2002
> --- openssl-0.9.7-beta4-modified\ssl/kssl.h Tue Nov 19 12:12:22 2002
> ***************
> *** 110,122 ****
> #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
> --- 110,122 ----
> #define KSSL_CLOCKSKEW 300;
> #endif
>
> ! /* Unused - really ? */
> #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 -cw openssl-0.9.7-beta4\ssl/ssl3.h openssl-0.9.7-beta4-modified\ssl/ssl3.h
> *** openssl-0.9.7-beta4\ssl/ssl3.h Tue Oct 15 15:31:08 2002
> --- openssl-0.9.7-beta4-modified\ssl/ssl3.h Tue Nov 19 12:14:30 2002
> ***************
> *** 228,233 ****
> --- 228,234 ----
> #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_RC2_40_CBC_MD5 "EXP-KRB5-RC2-CBC-MD5"
> #define SSL3_TXT_KRB5_DES_40_CBC_MD5 "EXP-KRB5-DES-CBC-MD5"
> #define SSL3_TXT_KRB5_RC4_40_MD5 "EXP-KRB5-RC4-MD5"
>
> diff -cw openssl-0.9.7-beta4\ssl/ssltest.c openssl-0.9.7-beta4-modified\ssl/ssltest.c
> *** openssl-0.9.7-beta4\ssl/ssltest.c Fri Nov 15 17:43:46 2002
> --- openssl-0.9.7-beta4-modified\ssl/ssltest.c Tue Nov 19 12:16:36 2002
> ***************
> *** 697,703 ****
> if(strlen(localhost) == sizeof localhost-1)
> {
> BIO_printf(bio_err,"localhost name too long\n");
> ! got end;
> }
> kssl_ctx_setstring(c_ssl->kssl_ctx, KSSL_SERVER,
> localhost);
> --- 697,703 ----
> if(strlen(localhost) == sizeof localhost-1)
> {
> BIO_printf(bio_err,"localhost name too long\n");
> ! goto end;
> }
> kssl_ctx_setstring(c_ssl->kssl_ctx, KSSL_SERVER,
> localhost);
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]