Loading crypto/md32_common.h +4 −2 Original line number Original line Diff line number Diff line /* crypto/md32_common.h */ /* crypto/md32_common.h */ /* ==================================================================== /* ==================================================================== * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. * Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved. * * * Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions Loading Loading @@ -354,9 +354,11 @@ int HASH_FINAL (unsigned char *md, HASH_CTX *c) if (n > (HASH_CBLOCK-8)) if (n > (HASH_CBLOCK-8)) { { memset (p+n,0,HASH_CBLOCK-n); n=0; HASH_BLOCK_DATA_ORDER (c,p,1); HASH_BLOCK_DATA_ORDER (c,p,1); memset (p,0,HASH_CBLOCK); } } memset (p+n,0,HASH_CBLOCK-8-n); p += HASH_CBLOCK-8; p += HASH_CBLOCK-8; #if defined(DATA_ORDER_IS_BIG_ENDIAN) #if defined(DATA_ORDER_IS_BIG_ENDIAN) Loading Loading
crypto/md32_common.h +4 −2 Original line number Original line Diff line number Diff line /* crypto/md32_common.h */ /* crypto/md32_common.h */ /* ==================================================================== /* ==================================================================== * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. * Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved. * * * Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions Loading Loading @@ -354,9 +354,11 @@ int HASH_FINAL (unsigned char *md, HASH_CTX *c) if (n > (HASH_CBLOCK-8)) if (n > (HASH_CBLOCK-8)) { { memset (p+n,0,HASH_CBLOCK-n); n=0; HASH_BLOCK_DATA_ORDER (c,p,1); HASH_BLOCK_DATA_ORDER (c,p,1); memset (p,0,HASH_CBLOCK); } } memset (p+n,0,HASH_CBLOCK-8-n); p += HASH_CBLOCK-8; p += HASH_CBLOCK-8; #if defined(DATA_ORDER_IS_BIG_ENDIAN) #if defined(DATA_ORDER_IS_BIG_ENDIAN) Loading