projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Constify version strings and some structures.
[openssl.git]
/
crypto
/
rc2
/
rc2_ecb.c
diff --git
a/crypto/rc2/rc2_ecb.c
b/crypto/rc2/rc2_ecb.c
index 040477368b9b85fa9109ff1d1d74e65e6e4fc27d..fff86c7af897d1269c25b999e9d5c3a61b645d0f 100644
(file)
--- a/
crypto/rc2/rc2_ecb.c
+++ b/
crypto/rc2/rc2_ecb.c
@@
-56,10
+56,11
@@
* [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 <openssl/opensslv.h>
-c
har *RC2_version="RC2 part of OpenSSL 0.9.1c 23-Dec-1998"
;
+c
onst char RC2_version[]="RC2" OPENSSL_VERSION_PTEXT
;
/* RC2 as implemented frm a posting from
* Newsgroups: sci.crypt
/* RC2 as implemented frm a posting from
* Newsgroups: sci.crypt
@@
-69,11
+70,8
@@
char *RC2_version="RC2 part of OpenSSL 0.9.1c 23-Dec-1998";
* 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];