diff options
Diffstat (limited to 'lib/libc/hash')
-rw-r--r-- | lib/libc/hash/rmd160.3 | 4 | ||||
-rw-r--r-- | lib/libc/hash/sha1.3 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3 index 9978b67e486..03cd1f3d133 100644 --- a/lib/libc/hash/rmd160.3 +++ b/lib/libc/hash/rmd160.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmd160.3,v 1.10 1999/07/09 13:35:20 aaron Exp $ +.\" $OpenBSD: rmd160.3,v 1.11 1999/08/11 03:06:06 deraadt Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -178,7 +178,7 @@ RMD160_CTX rmd; u_char output[41]; char *buf = "abc"; -printf("0x%s\n", RMD160Data(buf, strlen(buf), output)); +printf("0x%s\en", RMD160Data(buf, strlen(buf), output)); .Ed .Sh CAVEATS If a message digest is to be copied to a multi-byte type (ie: diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3 index 0e94679e93a..bf27f04645d 100644 --- a/lib/libc/hash/sha1.3 +++ b/lib/libc/hash/sha1.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.3,v 1.15 1999/07/09 13:35:20 aaron Exp $ +.\" $OpenBSD: sha1.3,v 1.16 1999/08/11 03:06:06 deraadt Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -175,7 +175,7 @@ SHA1_CTX sha; u_char output[41]; char *buf = "abc"; -printf("0x%s\n", SHA1Data(buf, strlen(buf), output)); +printf("0x%s\en", SHA1Data(buf, strlen(buf), output)); .Ed .Sh CAVEATS This implementation of SHA-1 has not been validated by NIST |