diff options
Diffstat (limited to 'src/lib/libcrypto/evp/e_null.c')
-rw-r--r-- | src/lib/libcrypto/evp/e_null.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/e_null.c b/src/lib/libcrypto/evp/e_null.c index 5205259f18..a84b0f14b1 100644 --- a/src/lib/libcrypto/evp/e_null.c +++ b/src/lib/libcrypto/evp/e_null.c | |||
@@ -69,14 +69,13 @@ static const EVP_CIPHER n_cipher= | |||
69 | { | 69 | { |
70 | NID_undef, | 70 | NID_undef, |
71 | 1,0,0, | 71 | 1,0,0, |
72 | 0, | 72 | EVP_CIPH_FLAG_FIPS, |
73 | null_init_key, | 73 | null_init_key, |
74 | null_cipher, | 74 | null_cipher, |
75 | NULL, | 75 | NULL, |
76 | 0, | 76 | 0, |
77 | NULL, | 77 | NULL, |
78 | NULL, | 78 | NULL, |
79 | NULL, | ||
80 | NULL | 79 | NULL |
81 | }; | 80 | }; |
82 | 81 | ||
@@ -96,7 +95,7 @@ static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, | |||
96 | const unsigned char *in, unsigned int inl) | 95 | const unsigned char *in, unsigned int inl) |
97 | { | 96 | { |
98 | if (in != out) | 97 | if (in != out) |
99 | memcpy((char *)out,(const char *)in,(size_t)inl); | 98 | memcpy((char *)out,(char *)in,(int)inl); |
100 | return 1; | 99 | return 1; |
101 | } | 100 | } |
102 | 101 | ||