projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create branch
[openssl.git]
/
crypto
/
idea
/
ideatest.c
diff --git
a/crypto/idea/ideatest.c
b/crypto/idea/ideatest.c
index 4593d9e694d811dfbcef4b700837467d86c100b3..e6ffc7025e75db4ceb38852fea7c0a652bee671e 100644
(file)
--- a/
crypto/idea/ideatest.c
+++ b/
crypto/idea/ideatest.c
@@
-59,6
+59,16
@@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+
+#include "../e_os.h"
+
+#ifdef OPENSSL_NO_IDEA
+int main(int argc, char *argv[])
+{
+ printf("No IDEA support\n");
+ return(0);
+}
+#else
#include <openssl/idea.h>
unsigned char k[16]={
#include <openssl/idea.h>
unsigned char k[16]={
@@
-159,7
+169,10
@@
int main(int argc, char *argv[])
else
printf("ok\n");
else
printf("ok\n");
- exit(err);
+#ifdef OPENSSL_SYS_NETWARE
+ if (err) printf("ERROR: %d\n", err);
+#endif
+ EXIT(err);
return(err);
}
return(err);
}
@@
-219,4
+232,4
@@
static char *pt(unsigned char *p)
ret[16]='\0';
return(ret);
}
ret[16]='\0';
return(ret);
}
-
+#endif