richter 2004/03/07 10:09:55
Modified: . Changes.pod
crypto epcrypto.c epcrypto_config.h
Log:
set key length for decrypt
Revision Changes Path
1.231 +3 -0 embperl/Changes.pod
Index: Changes.pod
===================================================================
RCS file: /home/cvs/embperl/Changes.pod,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -r1.230 -r1.231
--- Changes.pod 20 Feb 2004 06:05:34 -0000 1.230
+++ Changes.pod 7 Mar 2004 18:09:55 -0000 1.231
@@ -16,6 +16,9 @@
CGI object is destroyed.
- Fixed problem with encrypted source files and Perl 5.8.3 IO layers.
Reported by Edwin Ramirez.
+ - Fixed problem with encrypted source files and set key length.
+ Reported by Edwin Ramirez.
+
=head1 2.0b10 23. Jan 2004
1.6 +1 -1 embperl/crypto/epcrypto.c
Index: epcrypto.c
===================================================================
RCS file: /home/cvs/embperl/crypto/epcrypto.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- epcrypto.c 22 Oct 2002 05:29:09 -0000 1.5
+++ epcrypto.c 7 Mar 2004 18:09:55 -0000 1.6
@@ -34,7 +34,7 @@
EVP_CipherInit(&ctx, EPC_CHIPER, NULL, NULL, do_encrypt);
- /* EVP_CIPHER_CTX_set_key_length(&ctx, EPC_KEYLEN); */
+ EVP_CIPHER_CTX_set_key_length(&ctx, EPC_KEYLEN);
EVP_CipherInit(&ctx, NULL, key, iv, do_encrypt);
1.10 +2 -2 embperl/crypto/epcrypto_config.h
Index: epcrypto_config.h
===================================================================
RCS file: /home/cvs/embperl/crypto/epcrypto_config.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- epcrypto_config.h 17 Feb 2004 06:39:05 -0000 1.9
+++ epcrypto_config.h 7 Mar 2004 18:09:55 -0000 1.10
@@ -35,7 +35,7 @@
*
* -------------------------------------------------------------------------- */
-#define EPC_ENABLE 1
+#define EPC_ENABLE 0
/* ----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]