#'read-passwd vs. #'read-password in tls.c

Aidan Kehoe <[email protected]>
Newsgroups gmane.emacs.xemacs.beta
Message-ID <[email protected]>
Hi Jerry --

I was just scrolling through tls.c and I saw the following:

/* Function that gathers passwords for PKCS #11 tokens. */
static char *
nss_pk11_password (PK11SlotInfo *slot, PRBool retry, void * UNUSED (arg))
{
  [...]
  lsp_password =
    call1 (Qread_password, concat2 (prompt,
				    build_extstring (token_name, Qnative)));
  c_password = LISP_STRING_TO_EXTERNAL (lsp_password, Qnative);


Our read-a-password function is called read-passwd, not read-password; I agree
the latter is a better name, was there another implementation you were using,
or was this just a mistake?

Best,

Aidan

-- 
‘Tramadol is further fed to cattle […] when working them […] (as draft
animals) so that the animals do not get tired quickly. …’
	— Angewandte Chemie, Sept 2014, describing the social context of
	(synthetic) tramadol having been found in Cameroon tree roots.

_______________________________________________
XEmacs-Beta mailing list
[email protected]
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.