Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto reflect reality. W...



details:   https://anonhg.NetBSD.org/src/rev/1e2ad7d499a8
branches:  trunk
changeset: 780065:1e2ad7d499a8
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 10 19:35:58 2012 +0000

description:
reflect reality. We don't need .a libraries to link against anymore, and
we are not aboting, but exiting.

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/i_cbc_dummy.c    |  12 ++++----
 crypto/external/bsd/openssl/lib/libcrypto/i_skey_dummy.c   |  12 ++++----
 crypto/external/bsd/openssl/lib/libcrypto/mdc2dgst_dummy.c |  18 +++++++-------
 crypto/external/bsd/openssl/lib/libcrypto/rc5_enc_dummy.c  |  18 +++++++-------
 crypto/external/bsd/openssl/lib/libcrypto/rc5_skey_dummy.c |   6 ++--
 5 files changed, 33 insertions(+), 33 deletions(-)

diffs (187 lines):

diff -r 808b50b02393 -r 1e2ad7d499a8 crypto/external/bsd/openssl/lib/libcrypto/i_cbc_dummy.c
--- a/crypto/external/bsd/openssl/lib/libcrypto/i_cbc_dummy.c   Tue Jul 10 19:15:48 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/i_cbc_dummy.c   Tue Jul 10 19:35:58 2012 +0000
@@ -72,17 +72,17 @@
 #endif
 
 __warn_references(idea_cbc_encrypt,
-    "IDEA is a patented algorithm; link against libcrypto_idea.a")
+    "IDEA is a patented algorithm; link against libcrypto_idea")
 __warn_references(idea_encrypt,
-    "IDEA is a patented algorithm; link against libcrypto_idea.a")
+    "IDEA is a patented algorithm; link against libcrypto_idea")
 
 void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
             IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int encrypt)
 {
 
        fprintf(stderr,
-           "IDEA is a patented algorithm; link against libcrypto_idea.a. "
-           "Aborting...\n");
+           "IDEA is a patented algorithm; link against libcrypto_idea. "
+           "Exiting...\n");
        exit(1);
 }
 
@@ -90,7 +90,7 @@
 {
 
        fprintf(stderr,
-           "IDEA is a patented algorithm; link against libcrypto_idea.a. "
-           "Aborting...\n");
+           "IDEA is a patented algorithm; link against libcrypto_idea. "
+           "Exiting...\n");
        exit(1);
 }
diff -r 808b50b02393 -r 1e2ad7d499a8 crypto/external/bsd/openssl/lib/libcrypto/i_skey_dummy.c
--- a/crypto/external/bsd/openssl/lib/libcrypto/i_skey_dummy.c  Tue Jul 10 19:15:48 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/i_skey_dummy.c  Tue Jul 10 19:35:58 2012 +0000
@@ -72,16 +72,16 @@
 #endif
 
 __warn_references(idea_set_encrypt_key,
-    "IDEA is a patented algorithm; link against libcrypto_idea.a")
+    "IDEA is a patented algorithm; link against libcrypto_idea")
 __warn_references(idea_set_decrypt_key,
-    "IDEA is a patented algorithm; link against libcrypto_idea.a")
+    "IDEA is a patented algorithm; link against libcrypto_idea")
 
 void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks)
 {
 
        fprintf(stderr,
-           "IDEA is a patented algorithm; link against libcrypto_idea.a. "
-           "Aborting...\n");
+           "IDEA is a patented algorithm; link against libcrypto_idea. "
+           "Exiting...\n");
        exit(1);
 }
 
@@ -89,7 +89,7 @@
 {
 
        fprintf(stderr,
-           "IDEA is a patented algorithm; link against libcrypto_idea.a. "
-           "Aborting...\n");
+           "IDEA is a patented algorithm; link against libcrypto_idea. "
+           "Exiting...\n");
        exit(1);
 }
diff -r 808b50b02393 -r 1e2ad7d499a8 crypto/external/bsd/openssl/lib/libcrypto/mdc2dgst_dummy.c
--- a/crypto/external/bsd/openssl/lib/libcrypto/mdc2dgst_dummy.c        Tue Jul 10 19:15:48 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/mdc2dgst_dummy.c        Tue Jul 10 19:35:58 2012 +0000
@@ -75,18 +75,18 @@
 #endif
 
 __warn_references(MDC2_Init,
-    "MDC2 is a patented algorithm; link against libcrypto_mdc2.a")
+    "MDC2 is a patented algorithm; link against libcrypto_mdc2")
 __warn_references(MDC2_Update,
-    "MDC2 is a patented algorithm; link against libcrypto_mdc2.a")
+    "MDC2 is a patented algorithm; link against libcrypto_mdc2")
 __warn_references(MDC2_Final,
-    "MDC2 is a patented algorithm; link against libcrypto_mdc2.a")
+    "MDC2 is a patented algorithm; link against libcrypto_mdc2")
 
 void MDC2_Init(MDC2_CTX *c)
 {
 
        fprintf(stderr,
-           "MDC2 is a patented algorithm; link against libcrypto_mdc2.a. "
-           "Aborting...\n");
+           "MDC2 is a patented algorithm; link against libcrypto_mdc2. "
+           "Exiting...\n");
        exit(1);
 }
 
@@ -94,8 +94,8 @@
 {
 
        fprintf(stderr,
-           "MDC2 is a patented algorithm; link against libcrypto_mdc2.a. "
-           "Aborting...\n");
+           "MDC2 is a patented algorithm; link against libcrypto_mdc2. "
+           "Exiting...\n");
        exit(1);
 }
 
@@ -103,7 +103,7 @@
 {
 
        fprintf(stderr,
-           "MDC2 is a patented algorithm; link against libcrypto_mdc2.a. "
-           "Aborting...\n");
+           "MDC2 is a patented algorithm; link against libcrypto_mdc2. "
+           "Exiting...\n");
        exit(1);
 }
diff -r 808b50b02393 -r 1e2ad7d499a8 crypto/external/bsd/openssl/lib/libcrypto/rc5_enc_dummy.c
--- a/crypto/external/bsd/openssl/lib/libcrypto/rc5_enc_dummy.c Tue Jul 10 19:15:48 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/rc5_enc_dummy.c Tue Jul 10 19:35:58 2012 +0000
@@ -74,19 +74,19 @@
 #endif
 
 __warn_references(RC5_32_cbc_encrypt,
-    "RC5 is a patented algorithm; link against libcrypto_rc5.a")
+    "RC5 is a patented algorithm; link against libcrypto_rc5")
 __warn_references(RC5_32_encrypt,
-    "RC5 is a patented algorithm; link against libcrypto_rc5.a")
+    "RC5 is a patented algorithm; link against libcrypto_rc5")
 __warn_references(RC5_32_decrypt,
-    "RC5 is a patented algorithm; link against libcrypto_rc5.a")
+    "RC5 is a patented algorithm; link against libcrypto_rc5")
 
 void RC5_32_cbc_encrypt(const unsigned char *in, unsigned char *out,
        long length, RC5_32_KEY *ks, unsigned char *iv, int encrypt)
 {
 
        fprintf(stderr,
-           "RC5 is a patented algorithm; link against libcrypto_rc5.a. "
-           "Aborting...\n");
+           "RC5 is a patented algorithm; link against libcrypto_rc5. "
+           "Exiting...\n");
        exit(1);
 }
 
@@ -94,8 +94,8 @@
 {
 
        fprintf(stderr,
-           "RC5 is a patented algorithm; link against libcrypto_rc5.a. "
-           "Aborting...\n");
+           "RC5 is a patented algorithm; link against libcrypto_rc5. "
+           "Exiting...\n");
        exit(1);
 }
 
@@ -103,7 +103,7 @@
 {
 
        fprintf(stderr,
-           "RC5 is a patented algorithm; link against libcrypto_rc5.a. "
-           "Aborting...\n");
+           "RC5 is a patented algorithm; link against libcrypto_rc5. "
+           "Exiting...\n");
        exit(1);
 }
diff -r 808b50b02393 -r 1e2ad7d499a8 crypto/external/bsd/openssl/lib/libcrypto/rc5_skey_dummy.c
--- a/crypto/external/bsd/openssl/lib/libcrypto/rc5_skey_dummy.c        Tue Jul 10 19:15:48 2012 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/rc5_skey_dummy.c        Tue Jul 10 19:35:58 2012 +0000
@@ -70,14 +70,14 @@
 #endif
 
 __warn_references(RC5_32_set_key,
-    "RC5 is a patented algorithm; link against libcrypto_rc5.a")
+    "RC5 is a patented algorithm; link against libcrypto_rc5")
 
 void RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data,
             int rounds)
 {
 
        fprintf(stderr,
-           "RC5 is a patented algorithm; link against libcrypto_rc5.a. "
-           "Aborting...\n");
+           "RC5 is a patented algorithm; link against libcrypto_rc5. "
+           "Exiting...\n");
        exit(1);
 }



Home | Main Index | Thread Index | Old Index