summaryrefslogtreecommitdiff
path: root/lib/md2.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-01-31 11:10:36 +0100
committerSimon Josefsson <simon@josefsson.org>2008-01-31 11:10:36 +0100
commitdcad82d8011a5afaabed8389d523a99c56909af5 (patch)
tree2916de17dac36cb1448890c8089e29ef0f09f32d /lib/md2.h
parentb618722db56d8e66d8bff53a27a6c4f804e04d69 (diff)
downloadgnulib-dcad82d8011a5afaabed8389d523a99c56909af5.tar.gz
md2: clarify comments to say that alignment is not required.
* lib/md2.h: Remove warning about alignment in comment. * lib/md2.c (md2_read_ctx, md2_finish_ctx): Doc fix, alignment has never been required.
Diffstat (limited to 'lib/md2.h')
-rw-r--r--lib/md2.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/md2.h b/lib/md2.h
index 70d9e06ee4..401604ef1a 100644
--- a/lib/md2.h
+++ b/lib/md2.h
@@ -1,6 +1,6 @@
/* Declarations of functions and data types used for MD2 sum
library functions.
- Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -52,19 +52,13 @@ extern void md2_process_bytes (const void *buffer, size_t len,
/* Process the remaining bytes in the buffer and put result from CTX
in first 16 bytes following RESBUF. The result is always in little
endian byte order, so that a byte-wise output yields to the wanted
- ASCII representation of the message digest.
-
- IMPORTANT: On some systems it is required that RESBUF be correctly
- aligned for a 32 bits value. */
+ ASCII representation of the message digest. */
extern void *md2_finish_ctx (struct md2_ctx *ctx, void *resbuf);
/* Put result from CTX in first 16 bytes following RESBUF. The result is
always in little endian byte order, so that a byte-wise output yields
- to the wanted ASCII representation of the message digest.
-
- IMPORTANT: On some systems it is required that RESBUF is correctly
- aligned for a 32 bits value. */
+ to the wanted ASCII representation of the message digest. */
extern void *md2_read_ctx (const struct md2_ctx *ctx, void *resbuf);