aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 9830ac3..6c054f4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -87,6 +87,13 @@ int main( int argc, char *argv[] )
textdomain(GETTEXT_PACKAGE);
#endif
+ #ifdef SLAPT_HAS_GPGME
+ gpgme_check_version (NULL);
+ #ifdef ENABLE_NLS
+ gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL));
+ #endif
+ #endif
+
if ( argc < 2 ) {
usage();
exit(EXIT_FAILURE);