diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-01-31 11:10:36 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-01-31 11:10:36 +0100 |
commit | dcad82d8011a5afaabed8389d523a99c56909af5 (patch) | |
tree | 2916de17dac36cb1448890c8089e29ef0f09f32d /lib/md2.h | |
parent | b618722db56d8e66d8bff53a27a6c4f804e04d69 (diff) | |
download | gnulib-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.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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); |