X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fsha%2Fsha512.c;h=bb7cc5efb8f9769f58bd584a7931ff621100ee34;hp=e94de4370b61c93801214ea54ec68b2c5ffdd97c;hb=bc4e831ccd81a1d22a7462df645c884ce33ea7c0;hpb=ce1932f25f784bc5df3505c5de8b6b53436202a3 diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index e94de4370b..bb7cc5efb8 100644 --- a/crypto/sha/sha512.c +++ b/crypto/sha/sha512.c @@ -41,7 +41,6 @@ * As this implementation relies on 64-bit integer type, it's totally * inappropriate for platforms which don't support it, most notably * 16-bit platforms. - * */ #include #include @@ -258,7 +257,7 @@ unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md) SHA512_Update(&c, d, n); SHA512_Final(md, &c); OPENSSL_cleanse(&c, sizeof(c)); - return (md); + return md; } unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md) @@ -272,7 +271,7 @@ unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md) SHA512_Update(&c, d, n); SHA512_Final(md, &c); OPENSSL_cleanse(&c, sizeof(c)); - return (md); + return md; } #ifndef SHA512_ASM @@ -399,9 +398,6 @@ static SHA_LONG64 __fastcall __pull64be(const void *x) } # endif # define PULL64(x) __pull64be(&(x)) -# if _MSC_VER<=1200 -# pragma inline_depth(0) -# endif # endif # endif # endif