summaryrefslogtreecommitdiff
path: root/pith/smime.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-10-03 20:32:22 -0600
committerEduardo Chappa <chappa@washington.edu>2021-10-03 20:32:22 -0600
commitda6cdd6b8083201c66349133693a173704f5d4df (patch)
tree0118a022be15f2401c2092dc541109e6336d356c /pith/smime.c
parenta443129c36cd2f93c48a00c6b59b25c7585c64c2 (diff)
downloadalpine-da6cdd6b8083201c66349133693a173704f5d4df.tar.xz
* Code clean up and removal of some warnings.
Diffstat (limited to 'pith/smime.c')
-rw-r--r--pith/smime.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/pith/smime.c b/pith/smime.c
index e6f207f9..3412670b 100644
--- a/pith/smime.c
+++ b/pith/smime.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: smime.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -664,7 +660,7 @@ import_certificate(WhichCerts ctype, PERSONAL_CERT *p_cert, char *fname)
if(key != NULL
|| (key = load_pkey_with_prompt(full_filename, NULL, prompt, NULL)) != NULL){
BIO *ins = NULL;
- X509 *cert = p_cert ? p_cert->cert : NULL, *cert2;
+ X509 *cert = p_cert ? p_cert->cert : NULL;
strncpy(full_name_key, full_filename, sizeof(full_filename));
full_name_key[sizeof(full_name_key)-1] = '\0';