reflect reality. We don't need .a libraries to link against anymore, and

we are not aboting, but exiting.
This commit is contained in:
christos 2012-07-10 19:35:58 +00:00
parent edf9e3a719
commit 0c8e933f1b
5 changed files with 33 additions and 33 deletions

View File

@ -72,17 +72,17 @@ __weak_alias(idea_encrypt,_idea_encrypt)
#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 @@ void idea_encrypt(IDEA_INT *d, IDEA_KEY_SCHEDULE *key)
{
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);
}

View File

@ -72,16 +72,16 @@ __weak_alias(idea_set_decrypt_key,_idea_set_decrypt_key)
#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 @@ void idea_set_decrypt_key(IDEA_KEY_SCHEDULE *ek, IDEA_KEY_SCHEDULE *dk)
{
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);
}

View File

@ -75,18 +75,18 @@ __weak_alias(MDC2_Final,_MDC2_Final)
#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 @@ void MDC2_Update(MDC2_CTX *c, const unsigned char *in, unsigned long len)
{
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 @@ void MDC2_Final(unsigned char *md, 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);
}

View File

@ -74,19 +74,19 @@ __weak_alias(RC5_32_decrypt,_RC5_32_decrypt)
#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 @@ void RC5_32_encrypt(RC5_32_INT *d, RC5_32_KEY *key)
{
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 @@ void RC5_32_decrypt(RC5_32_INT *d, RC5_32_KEY *key)
{
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);
}

View File

@ -70,14 +70,14 @@ __weak_alias(RC5_32_set_key,_RC5_32_set_key)
#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);
}