9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <200302160458.h1G4wlM08923@augusta.math.psu.edu> (raw)

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.



             reply	other threads:[~2003-02-16  4:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-16  4:58 Dan Cross [this message]
2003-02-16 13:20 ` David Presotto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200302160458.h1G4wlM08923@augusta.math.psu.edu \
    --to=cross@math.psu.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).