projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Gcc over-optimizes PadLock AES CFB codepath, tell it not to.
[openssl.git]
/
crypto
/
evp
/
e_null.c
diff --git
a/crypto/evp/e_null.c
b/crypto/evp/e_null.c
index 2420d7e5af806ec6c81fbf9c1fb091fa96b6dfcd..5205259f18ca2249a5cfaaef1140b6df8b4d2c4b 100644
(file)
--- a/
crypto/evp/e_null.c
+++ b/
crypto/evp/e_null.c
@@
-76,6
+76,7
@@
static const EVP_CIPHER n_cipher=
0,
NULL,
NULL,
+ NULL,
NULL
};
@@
-95,7
+96,7
@@
static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
const unsigned char *in, unsigned int inl)
{
if (in != out)
- memcpy((char *)out,(c
har *)in,(in
t)inl);
+ memcpy((char *)out,(c
onst char *)in,(size_
t)inl);
return 1;
}