+ int status;
+
+ (void)buf;
+
+ if (ctl->sslproto && !strcasecmp(ctl->sslproto, "tls1") && !ctl->use_ssl)
+ {
+ report(stderr, GT_("POP2 does not support STLS. Giving up.\n"));
+ return PS_SOCKET;
+ }
+
+ if (ctl->server.authenticate != A_ANY && ctl->server.authenticate != A_PASSWORD)
+ {
+ report(stderr, GT_("POP2 only supports password authentication. Giving up.\n"));
+ return PS_AUTHFAIL;
+ }
+
+ strlcpy(shroud, ctl->password, sizeof(shroud));
+ status = gen_transact(sock,