+#if HAVE_GCRYPT
+ GcryCipherHd handle;
+
+ handle = gcry_cipher_open(GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0);
+ if (handle) {
+ int ret;
+
+ ret = gcry_cipher_setkey(handle, key, DES_KEY_SZ);
+ if (!ret)
+ ret = gcry_cipher_decrypt(handle, dst, 8, src, 8);
+ gcry_cipher_close(handle);
+ if (ret) {
+ fprintf(stderr, _("Decryption error: %s\n"), gcry_strerror(ret));
+ err = 1;
+ }
+ printf("pw: %s\n", buf); /* FIXME */
+ } else {
+ fprintf(stderr, _("Could not create crypt handle.\n"));
+ err = 1;
+ }
+#else