1 diff -up openssl-0.9.8b/ssl/ssltest.c.use-localhost openssl-0.9.8b/ssl/ssltest.c
2 --- openssl-0.9.8b/ssl/ssltest.c.use-localhost 2006-02-24 18:58:35.000000000 +0100
3 +++ openssl-0.9.8b/ssl/ssltest.c 2007-08-03 14:06:16.000000000 +0200
4 @@ -839,19 +839,8 @@ bad:
5 #ifndef OPENSSL_NO_KRB5
6 if (c_ssl && c_ssl->kssl_ctx)
8 - char localhost[MAXHOSTNAMELEN+2];
10 - if (gethostname(localhost, sizeof localhost-1) == 0)
12 - localhost[sizeof localhost-1]='\0';
13 - if(strlen(localhost) == sizeof localhost-1)
15 - BIO_printf(bio_err,"localhost name too long\n");
18 kssl_ctx_setstring(c_ssl->kssl_ctx, KSSL_SERVER,
23 #endif /* OPENSSL_NO_KRB5 */