Re: [PATCH] crypt.3: The library is "libcrypt", not "libcrypto"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xi!

On 2023-07-15 20:41, Xi Ruoyao wrote:
> libcrypt is the password hashing library, and libcrypto is a completely
> different library (OpenSSL cryptography library).

Thanks!  My mistake.

> 
> Signed-off-by: Xi Ruoyao <xry111@xxxxxxxxxxx>
> ---
>  man3/crypt.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/crypt.3 b/man3/crypt.3
> index 1f3e4792e..ad14cb4f7 100644
> --- a/man3/crypt.3
> +++ b/man3/crypt.3
> @@ -20,7 +20,7 @@
>  crypt, crypt_r \- password and data encryption
>  .SH LIBRARY
>  Encryption and decryption library

Is the above line accurate, or should we improve it?

> -.RI ( libcrypto ", " \-lcrypto )
> +.RI ( libcrypt ", " \-lcrypt )

I see that another page probably also needs to be fixed.
Would you mind fixing it too,if appropriate, in this patch?

$ grep -rn libcrypt
man3/encrypt.3:17:.RI ( libcrypto ", " \-lcrypto )
man3/crypt.3:23:.RI ( libcrypto ", " \-lcrypto )

Cheers,
Alex


>  .SH SYNOPSIS
>  .nf
>  .B #include <unistd.h>

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux