Lines Matching refs:features

98 	if (((config.features & SECURETRANSFER) != 0) &&  in send_remote_command()
99 ((config.features & NOSSL) == 0)) { in send_remote_command()
151 if (((config.features & SECURETRANSFER) != 0) && in read_remote()
152 (config.features & NOSSL) == 0) { in read_remote()
252 smtp_login(int fd, char *login, char* password, const struct smtp_features* features) in smtp_login() argument
258 if (features->auth.cram_md5) { in smtp_login()
272 if (features->auth.login) { in smtp_login()
273 if ((config.features & INSECURE) != 0 || in smtp_login()
274 (config.features & SECURETRANSFER) != 0) { in smtp_login()
350 if (((config.features & SECURETRANSFER) != 0) && in close_connection()
351 ((config.features & NOSSL) == 0)) in close_connection()
375 int perform_server_greeting(int fd, struct smtp_features* features) { in perform_server_greeting() argument
392 memset(features, 0, sizeof(*features)); in perform_server_greeting()
437 features->starttls = 1; in perform_server_greeting()
441 parse_auth_line(line, &features->auth); in perform_server_greeting()
447 if (features->starttls) in perform_server_greeting()
453 if (features->auth.cram_md5) { in perform_server_greeting()
456 if (features->auth.login) { in perform_server_greeting()
467 struct smtp_features features; in deliver_to_host() local
500 if ((config.features & SECURETRANSFER) == 0 || in deliver_to_host()
501 (config.features & STARTTLS) != 0) { in deliver_to_host()
502 config.features |= NOSSL; in deliver_to_host()
505 config.features &= ~NOSSL; in deliver_to_host()
508 if ((config.features & SECURETRANSFER) != 0) { in deliver_to_host()
509 error = smtp_init_crypto(fd, config.features, &features); in deliver_to_host()
515 if ((config.features & STARTTLS) == 0) in deliver_to_host()
520 if (perform_server_greeting(fd, &features) != 0) { in deliver_to_host()
543 error = smtp_login(fd, a->login, a->password, &features); in deliver_to_host()