Fixed EOF detection for encrypted packets.
[gnupg.git] / agent / trans.c
blob9e48889d3cefefaa95effe2ce0150bb8b9683cc0
1 /* trans.c - translatable strings
2 * Copyright (C) 2001 Free Software Foundation, Inc.
4 * This file is part of GnuPG.
6 * GnuPG is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * GnuPG is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 /* To avoid any problems with the gettext implementation (there used
21 to be some vulnerabilities in the last years and the use of
22 external files is a minor security problem in itself), we use our
23 own simple translation stuff */
25 #include <config.h>
26 #include <errno.h>
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <string.h>
30 #include <ctype.h>
31 #include <assert.h>
32 #include <unistd.h>
33 #include <sys/stat.h>
35 #include "agent.h"
37 const char *
38 trans (const char *text)
40 return text;