Changeset 264
- Timestamp:
- 06/07/07 08:28:18 (17 months ago)
- Files:
-
- 1 modified
-
trunk/c2s/c2s.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/c2s/c2s.c
r233 r264 325 325 /* drop packets if they have to starttls and they haven't */ 326 326 if((sess->s->flags & SX_SSL_STARTTLS_REQUIRE) && sess->s->ssf == 0) { 327 log_debug(ZONE, "pre STARTTLS packet, dropping"); 328 log_write(sess->c2s->log, LOG_NOTICE, "[%d] got pre STARTTLS packet, dropping", sess->s->tag); 329 330 sx_error(s, stream_err_POLICY_VIOLATION, "stanza sent before starttls"); 331 327 332 nad_free(nad); 328 333 return 0;
