projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
[oweals/openssl.git]
/
crypto
/
rc2
/
rc2_ecb.c
diff --git
a/crypto/rc2/rc2_ecb.c
b/crypto/rc2/rc2_ecb.c
index d00070b30914611398dfaeee48b201e742262b81..d3e8c2718a30b3f969078e089606cd2561a78964 100644
(file)
--- a/
crypto/rc2/rc2_ecb.c
+++ b/
crypto/rc2/rc2_ecb.c
@@
-56,9
+56,9
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
-#include
"rc2.h"
+#include
<openssl/rc2.h>
#include "rc2_locl.h"
#include "rc2_locl.h"
-#include
"opensslv.h"
+#include
<openssl/opensslv.h>
const char *RC2_version="RC2" OPENSSL_VERSION_PTEXT;
const char *RC2_version="RC2" OPENSSL_VERSION_PTEXT;
@@
-70,11
+70,8
@@
const char *RC2_version="RC2" OPENSSL_VERSION_PTEXT;
* Date: 11 Feb 1996 06:45:03 GMT
*/
* Date: 11 Feb 1996 06:45:03 GMT
*/
-void RC2_ecb_encrypt(in, out, ks, encrypt)
-unsigned char *in;
-unsigned char *out;
-RC2_KEY *ks;
-int encrypt;
+void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks,
+ int encrypt)
{
unsigned long l,d[2];
{
unsigned long l,d[2];