diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-10-03 20:32:22 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-10-03 20:32:22 -0600 |
commit | da6cdd6b8083201c66349133693a173704f5d4df (patch) | |
tree | 0118a022be15f2401c2092dc541109e6336d356c /pith/smime.c | |
parent | a443129c36cd2f93c48a00c6b59b25c7585c64c2 (diff) | |
download | alpine-da6cdd6b8083201c66349133693a173704f5d4df.tar.xz |
* Code clean up and removal of some warnings.
Diffstat (limited to 'pith/smime.c')
-rw-r--r-- | pith/smime.c | 6 |
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'; |