mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
Back out probable fix to strange alignment code
This commit is contained in:
parent
b581bdd23c
commit
e4171a78db
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ ldap_SHA1Transform( uint32 *state, const unsigned char *buffer )
|
|||
CHAR64LONG16 *block;
|
||||
|
||||
#ifdef SHA1HANDSOFF
|
||||
CHAR64LONG16 workspace;
|
||||
block = &workspace;
|
||||
static unsigned char workspace[64];
|
||||
block = (CHAR64LONG16 *)workspace;
|
||||
(void)memcpy(block, buffer, 64);
|
||||
#else
|
||||
block = (CHAR64LONG16 *)buffer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue