aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/asn1_par.c3
-rw-r--r--crypto/des/read_pwd.c3
-rw-r--r--crypto/des/rpw.c10
-rw-r--r--crypto/dh/dhtest.c3
-rw-r--r--crypto/ecdh/ecdhtest.c3
5 files changed, 2 insertions, 20 deletions
diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c
index aaca69aebd..147aa47521 100644
--- a/crypto/asn1/asn1_par.c
+++ b/crypto/asn1/asn1_par.c
@@ -133,9 +133,6 @@ static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, int offse
{
op=p;
j=ASN1_get_object(&p,&len,&tag,&xclass,length);
-#ifdef LINT
- j=j;
-#endif
if (j & 0x80)
{
if (BIO_write(bp,"Error in encoding\n",18) <= 0)
diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c
index 7e3f9020dc..ffc458a9c6 100644
--- a/crypto/des/read_pwd.c
+++ b/crypto/des/read_pwd.c
@@ -462,9 +462,6 @@ static void popsig(void)
static void recsig(int i)
{
longjmp(save,1);
-#ifdef LINT
- i=i;
-#endif
}
#ifdef OPENSSL_SYS_MSDOS
diff --git a/crypto/des/rpw.c b/crypto/des/rpw.c
index 8a9473c4f9..af1f0cf73f 100644
--- a/crypto/des/rpw.c
+++ b/crypto/des/rpw.c
@@ -86,14 +86,8 @@ int main(int argc, char *argv[])
for (i=0; i<8; i++)
printf("%02x ",k1[i]);
printf("\n");
- exit(1);
+ return(1);
}
- else
- {
- printf("error %d\n",i);
- exit(0);
- }
-#ifdef LINT
+ printf("error %d\n",i);
return(0);
-#endif
}
diff --git a/crypto/dh/dhtest.c b/crypto/dh/dhtest.c
index 1d49d0462b..c98c8047a6 100644
--- a/crypto/dh/dhtest.c
+++ b/crypto/dh/dhtest.c
@@ -226,9 +226,6 @@ static int MS_CALLBACK cb(int p, int n, BN_GENCB *arg)
if (p == 3) c='\n';
BIO_write(BN_GENCB_get_arg(arg),&c,1);
(void)BIO_flush(BN_GENCB_get_arg(arg));
-#ifdef LINT
- p=n;
-#endif
return 1;
}
diff --git a/crypto/ecdh/ecdhtest.c b/crypto/ecdh/ecdhtest.c
index 4b861fef61..e4c09455f1 100644
--- a/crypto/ecdh/ecdhtest.c
+++ b/crypto/ecdh/ecdhtest.c
@@ -537,9 +537,6 @@ static void MS_CALLBACK cb(int p, int n, void *arg)
if (p == 3) c='\n';
BIO_write((BIO *)arg,&c,1);
(void)BIO_flush((BIO *)arg);
-#ifdef LINT
- p=n;
-#endif
}
#endif
#endif