patch-libexec_dma_net.c.diff

roe, 01/17/2009 06:42 PM

Download (670 Bytes)

View differences:

libexec/dma/net.c 2009-01-17 19:02:43.000000000 +0100
342 342
				it->queueid);
343 343
		else
344 344
			goto out;
345
	}
346

  
347
	/*
348
	 * If the user doesn't want STARTTLS, but SSL encryption, we
349
	 * have to enable SSL first, then send EHLO
350
	 */
351
	if (((config->features & STARTTLS) == 0) &&
352
	    ((config->features & SECURETRANS) != 0)) {
345
		/*
346
		 * The client SHOULD send an EHLO command as the
347
		 * first command after a successful TLS negotiation.
348
		 */
353 349
		send_remote_command(fd, "EHLO %s", hostname());
354 350
		if (read_remote(fd, 0, NULL) != 2) {
355 351
			syslog(LOG_ERR, "%s: remote delivery deferred: "