projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update EVP_PKEY_cmp() and X509_check_private() to return sensible values and
[openssl.git]
/
crypto
/
evp
/
e_rc5.c
diff --git
a/crypto/evp/e_rc5.c
b/crypto/evp/e_rc5.c
index e22aedd68545e48a511ebdc89ac7a4adacc90830..19a10c64024522d9a203f194fdcd2b92e13904e8 100644
(file)
--- a/
crypto/evp/e_rc5.c
+++ b/
crypto/evp/e_rc5.c
@@
-56,10
+56,11
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
-#ifndef OPENSSL_NO_RC5
-
#include <stdio.h>
#include "cryptlib.h"
#include <stdio.h>
#include "cryptlib.h"
+
+#ifndef OPENSSL_NO_RC5
+
#include <openssl/evp.h>
#include <openssl/objects.h>
#include "evp_locl.h"
#include <openssl/evp.h>
#include <openssl/objects.h>
#include "evp_locl.h"
@@
-78,7
+79,7
@@
typedef struct
#define data(ctx) EVP_C_DATA(EVP_RC5_KEY,ctx)
IMPLEMENT_BLOCK_CIPHER(rc5_32_12_16, ks, RC5_32, EVP_RC5_KEY, NID_rc5,
#define data(ctx) EVP_C_DATA(EVP_RC5_KEY,ctx)
IMPLEMENT_BLOCK_CIPHER(rc5_32_12_16, ks, RC5_32, EVP_RC5_KEY, NID_rc5,
- 8, RC5_32_KEY_LENGTH, 8,
+ 8, RC5_32_KEY_LENGTH, 8,
64,
EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
r_32_12_16_init_key, NULL,
NULL, NULL, rc5_ctrl)
EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT,
r_32_12_16_init_key, NULL,
NULL, NULL, rc5_ctrl)