summaryrefslogtreecommitdiffstats
path: root/crypto/des
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2014-09-23 13:23:09 -0400
committerRich Salz <rsalz@openssl.org>2014-12-10 17:31:04 -0500
commit5cf37957fbdb7e2a1be48e15c4114d218c135f73 (patch)
tree1208728955b062762d2c327fd08d268c0942177e /crypto/des
parenta4a934119dd213e16c9d8b11150a4815604c13bb (diff)
RT3543: Remove #ifdef LINT
I also replaced some exit/return wrappers in various programs (from main) to standardize on return. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/read_pwd.c3
-rw-r--r--crypto/des/rpw.c10
2 files changed, 2 insertions, 11 deletions
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
}