diff options
author | Werner Koch <wk@gnupg.org> | 2014-09-18 15:49:44 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-09-18 16:01:11 +0200 |
commit | cad181b5ece3ab6910575c82c731ce2b47271a09 (patch) | |
tree | e2e4788416eacdd2f833f18b257be0c357af5ec5 /common/sexputil.c | |
parent | g13: Avoid segv after pipe creation failure. (diff) | |
download | gnupg2-cad181b5ece3ab6910575c82c731ce2b47271a09.tar.xz gnupg2-cad181b5ece3ab6910575c82c731ce2b47271a09.zip |
common: Remove superfluous statements.
* common/exechelp-posix.c: Remove weak pragmas.
* common/sexputil.c (make_canon_sexp_from_rsa_pk): Remove double
const.
--
We do not use Pth anymore and thus there is no more need for the weak
pragmas.
Diffstat (limited to 'common/sexputil.c')
-rw-r--r-- | common/sexputil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/sexputil.c b/common/sexputil.c index f15b94c66..c24facb4e 100644 --- a/common/sexputil.c +++ b/common/sexputil.c @@ -370,9 +370,9 @@ make_canon_sexp_from_rsa_pk (const void *m_arg, size_t mlen, char mlen_str[35]; char elen_str[35]; unsigned char *keybuf, *p; - const char const part1[] = "(10:public-key(3:rsa(1:n"; - const char const part2[] = ")(1:e"; - const char const part3[] = ")))"; + const char part1[] = "(10:public-key(3:rsa(1:n"; + const char part2[] = ")(1:e"; + const char part3[] = ")))"; /* Remove leading zeroes. */ for (; mlen && !*m; mlen--, m++) |