diff options
| author | beck <> | 2002-05-15 02:29:21 +0000 |
|---|---|---|
| committer | beck <> | 2002-05-15 02:29:21 +0000 |
| commit | b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9 (patch) | |
| tree | fa27cf82a1250b64ed3bf5f4a18c7354d470bbcc /src/lib/libcrypto/rc2 | |
| parent | e471e1ea98d673597b182ea85f29e30c97cd08b5 (diff) | |
| download | openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.gz openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.bz2 openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.zip | |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'src/lib/libcrypto/rc2')
| -rw-r--r-- | src/lib/libcrypto/rc2/Makefile.ssl | 16 | ||||
| -rw-r--r-- | src/lib/libcrypto/rc2/rc2.h | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/rc2/rc2speed.c | 6 | ||||
| -rw-r--r-- | src/lib/libcrypto/rc2/rc2test.c | 2 |
4 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/rc2/Makefile.ssl b/src/lib/libcrypto/rc2/Makefile.ssl index 39813d68be..73ebbfa400 100644 --- a/src/lib/libcrypto/rc2/Makefile.ssl +++ b/src/lib/libcrypto/rc2/Makefile.ssl | |||
| @@ -11,7 +11,8 @@ INSTALL_PREFIX= | |||
| 11 | OPENSSLDIR= /usr/local/ssl | 11 | OPENSSLDIR= /usr/local/ssl |
| 12 | INSTALLTOP=/usr/local/ssl | 12 | INSTALLTOP=/usr/local/ssl |
| 13 | MAKE= make -f Makefile.ssl | 13 | MAKE= make -f Makefile.ssl |
| 14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) | 14 | MAKEDEPPROG= makedepend |
| 15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 15 | MAKEFILE= Makefile.ssl | 16 | MAKEFILE= Makefile.ssl |
| 16 | AR= ar r | 17 | AR= ar r |
| 17 | 18 | ||
| @@ -39,8 +40,7 @@ all: lib | |||
| 39 | 40 | ||
| 40 | lib: $(LIBOBJ) | 41 | lib: $(LIBOBJ) |
| 41 | $(AR) $(LIB) $(LIBOBJ) | 42 | $(AR) $(LIB) $(LIBOBJ) |
| 42 | @echo You may get an error following this line. Please ignore. | 43 | $(RANLIB) $(LIB) || echo Never mind. |
| 43 | - $(RANLIB) $(LIB) | ||
| 44 | @touch lib | 44 | @touch lib |
| 45 | 45 | ||
| 46 | files: | 46 | files: |
| @@ -80,12 +80,12 @@ clean: | |||
| 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
| 81 | 81 | ||
| 82 | rc2_cbc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | 82 | rc2_cbc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h |
| 83 | rc2_cbc.o: rc2_locl.h | 83 | rc2_cbc.o: rc2_cbc.c rc2_locl.h |
| 84 | rc2_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 84 | rc2_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
| 85 | rc2_ecb.o: ../../include/openssl/rc2.h rc2_locl.h | 85 | rc2_ecb.o: ../../include/openssl/rc2.h rc2_ecb.c rc2_locl.h |
| 86 | rc2_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | 86 | rc2_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h |
| 87 | rc2_skey.o: rc2_locl.h | 87 | rc2_skey.o: rc2_locl.h rc2_skey.c |
| 88 | rc2cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | 88 | rc2cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h |
| 89 | rc2cfb64.o: rc2_locl.h | 89 | rc2cfb64.o: rc2_locl.h rc2cfb64.c |
| 90 | rc2ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h | 90 | rc2ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h |
| 91 | rc2ofb64.o: rc2_locl.h | 91 | rc2ofb64.o: rc2_locl.h rc2ofb64.c |
diff --git a/src/lib/libcrypto/rc2/rc2.h b/src/lib/libcrypto/rc2/rc2.h index 076c0a067c..7816b454dc 100644 --- a/src/lib/libcrypto/rc2/rc2.h +++ b/src/lib/libcrypto/rc2/rc2.h | |||
| @@ -59,7 +59,7 @@ | |||
| 59 | #ifndef HEADER_RC2_H | 59 | #ifndef HEADER_RC2_H |
| 60 | #define HEADER_RC2_H | 60 | #define HEADER_RC2_H |
| 61 | 61 | ||
| 62 | #ifdef NO_RC2 | 62 | #ifdef OPENSSL_NO_RC2 |
| 63 | #error RC2 is disabled. | 63 | #error RC2 is disabled. |
| 64 | #endif | 64 | #endif |
| 65 | 65 | ||
diff --git a/src/lib/libcrypto/rc2/rc2speed.c b/src/lib/libcrypto/rc2/rc2speed.c index 9f7f5ccfa3..47d34b444e 100644 --- a/src/lib/libcrypto/rc2/rc2speed.c +++ b/src/lib/libcrypto/rc2/rc2speed.c | |||
| @@ -59,7 +59,7 @@ | |||
| 59 | /* 11-Sep-92 Andrew Daviel Support for Silicon Graphics IRIX added */ | 59 | /* 11-Sep-92 Andrew Daviel Support for Silicon Graphics IRIX added */ |
| 60 | /* 06-Apr-92 Luke Brennan Support for VMS and add extra signal calls */ | 60 | /* 06-Apr-92 Luke Brennan Support for VMS and add extra signal calls */ |
| 61 | 61 | ||
| 62 | #if !defined(MSDOS) && (!defined(VMS) || defined(__DECC)) | 62 | #if !defined(OPENSSL_SYS_MSDOS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) && !defined(OPENSSL_SYS_MACOSX) |
| 63 | #define TIMES | 63 | #define TIMES |
| 64 | #endif | 64 | #endif |
| 65 | 65 | ||
| @@ -82,7 +82,7 @@ OPENSSL_DECLARE_EXIT | |||
| 82 | The __TMS macro will show if it was. If it wasn't defined, we should | 82 | The __TMS macro will show if it was. If it wasn't defined, we should |
| 83 | undefine TIMES, since that tells the rest of the program how things | 83 | undefine TIMES, since that tells the rest of the program how things |
| 84 | should be handled. -- Richard Levitte */ | 84 | should be handled. -- Richard Levitte */ |
| 85 | #if defined(VMS) && defined(__DECC) && !defined(__TMS) | 85 | #if defined(OPENSSL_SYS_VMS_DECC) && !defined(__TMS) |
| 86 | #undef TIMES | 86 | #undef TIMES |
| 87 | #endif | 87 | #endif |
| 88 | 88 | ||
| @@ -268,7 +268,7 @@ int main(int argc, char **argv) | |||
| 268 | printf("RC2 raw ecb bytes per sec = %12.2f (%9.3fuS)\n",b,8.0e6/b); | 268 | printf("RC2 raw ecb bytes per sec = %12.2f (%9.3fuS)\n",b,8.0e6/b); |
| 269 | printf("RC2 cbc bytes per sec = %12.2f (%9.3fuS)\n",c,8.0e6/c); | 269 | printf("RC2 cbc bytes per sec = %12.2f (%9.3fuS)\n",c,8.0e6/c); |
| 270 | exit(0); | 270 | exit(0); |
| 271 | #if defined(LINT) || defined(MSDOS) | 271 | #if defined(LINT) || defined(OPENSSL_SYS_MSDOS) |
| 272 | return(0); | 272 | return(0); |
| 273 | #endif | 273 | #endif |
| 274 | } | 274 | } |
diff --git a/src/lib/libcrypto/rc2/rc2test.c b/src/lib/libcrypto/rc2/rc2test.c index 521269ded1..d9a2a0a1cb 100644 --- a/src/lib/libcrypto/rc2/rc2test.c +++ b/src/lib/libcrypto/rc2/rc2test.c | |||
| @@ -63,7 +63,7 @@ | |||
| 63 | #include <string.h> | 63 | #include <string.h> |
| 64 | #include <stdlib.h> | 64 | #include <stdlib.h> |
| 65 | 65 | ||
| 66 | #ifdef NO_RC2 | 66 | #ifdef OPENSSL_NO_RC2 |
| 67 | int main(int argc, char *argv[]) | 67 | int main(int argc, char *argv[]) |
| 68 | { | 68 | { |
| 69 | printf("No RC2 support\n"); | 69 | printf("No RC2 support\n"); |
