@@ -95,7 +95,7 @@ send_remote_command(int fd, const char* fmt, ...)
9595 strcat (cmd , "\r\n" );
9696 len = strlen (cmd );
9797
98- if (((config .features & SECURETRANS ) != 0 ) &&
98+ if (((config .features & SECURETRANSFER ) != 0 ) &&
9999 ((config .features & NOSSL ) == 0 )) {
100100 while ((s = SSL_write (config .ssl , (const char * )cmd , len )) <= 0 ) {
101101 s = SSL_get_error (config .ssl , s );
@@ -148,7 +148,7 @@ read_remote(int fd, int extbufsize, char *extbuf)
148148 memmove (buff , buff + pos , len - pos );
149149 len -= pos ;
150150 pos = 0 ;
151- if (((config .features & SECURETRANS ) != 0 ) &&
151+ if (((config .features & SECURETRANSFER ) != 0 ) &&
152152 (config .features & NOSSL ) == 0 ) {
153153 if ((rlen = SSL_read (config .ssl , buff + len , sizeof (buff ) - len )) == -1 ) {
154154 strlcpy (neterr , ssl_errstr (), sizeof (neterr ));
@@ -271,7 +271,7 @@ smtp_login(int fd, char *login, char* password, const struct smtp_features* feat
271271 // LOGIN
272272 if (features -> auth .login ) {
273273 if ((config .features & INSECURE ) != 0 ||
274- (config .features & SECURETRANS ) != 0 ) {
274+ (config .features & SECURETRANSFER ) != 0 ) {
275275 /* Send AUTH command according to RFC 2554 */
276276 send_remote_command (fd , "AUTH LOGIN" );
277277 if (read_remote (fd , 0 , NULL ) != 3 ) {
@@ -347,7 +347,7 @@ static void
347347close_connection (int fd )
348348{
349349 if (config .ssl != NULL ) {
350- if (((config .features & SECURETRANS ) != 0 ) &&
350+ if (((config .features & SECURETRANSFER ) != 0 ) &&
351351 ((config .features & NOSSL ) == 0 ))
352352 SSL_shutdown (config .ssl );
353353 SSL_free (config .ssl );
@@ -497,15 +497,15 @@ deliver_to_host(struct qitem *it, struct mx_hostentry *host)
497497 } while (0)
498498
499499 /* Check first reply from remote host */
500- if ((config .features & SECURETRANS ) == 0 ||
500+ if ((config .features & SECURETRANSFER ) == 0 ||
501501 (config .features & STARTTLS ) != 0 ) {
502502 config .features |= NOSSL ;
503503 READ_REMOTE_CHECK ("connect" , 2 );
504504
505505 config .features &= ~NOSSL ;
506506 }
507507
508- if ((config .features & SECURETRANS ) != 0 ) {
508+ if ((config .features & SECURETRANSFER ) != 0 ) {
509509 error = smtp_init_crypto (fd , config .features , & features );
510510 if (error == 0 )
511511 syslog (LOG_DEBUG , "SSL initialization successful" );
0 commit comments