9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Whither /sys/lib/ssl?
@ 2003-02-16  4:58 Dan Cross
  2003-02-16 13:20 ` David Presotto
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Cross @ 2003-02-16  4:58 UTC (permalink / raw)
  To: 9fans

The starttls support in smtpd had a small bug in it; instead of
looking for the SMTP certificate in /sys/lib/tls, it was looking
in the (seemingly older) /sys/lib/ssl.  This is probably my fault,
since I wrote that support originally; I can't remember what
directory I had certificates in at the time.  Anyway, a patch
to change 3 bytes follows (diff -e format).

term% diff -e smtpd.c /sys/src/cmd/upas/smtp/smtpd.c
949c
	cert = readcert("/sys/lib/tls/smtpd-cert.pem", &certlen);
.
term%

Thanks.

	- Dan C.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-16 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-16  4:58 [9fans] Whither /sys/lib/ssl? Dan Cross
2003-02-16 13:20 ` David Presotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).