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

* Re: [9fans] Whither /sys/lib/ssl?
  2003-02-16  4:58 [9fans] Whither /sys/lib/ssl? Dan Cross
@ 2003-02-16 13:20 ` David Presotto
  0 siblings, 0 replies; 2+ messages in thread
From: David Presotto @ 2003-02-16 13:20 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

I'm going to rationalize those things.  The naming is crazy.  I'm going to
rename them to something like /sys/lib/x509/cert and /sys/lib/x509/thumb.
I think you had it in the right place given the way ehg was using it
here but even he admits the naming is meaningless.

[-- Attachment #2: Type: message/rfc822, Size: 2015 bytes --]

From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] Whither /sys/lib/ssl?
Date: Sat, 15 Feb 2003 23:58:47 -0500
Message-ID: <200302160458.h1G4wlM08923@augusta.math.psu.edu>

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).