summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-11-12 16:17:44 +0100
committerWerner Koch <wk@gnupg.org>2003-11-12 16:17:44 +0100
commitdba40e5e45e80896dc8864c2ae97f026069e2906 (patch)
tree724a2e0f0f73ef66cf6284adb7e2463785874ffe /g10
parent2003-11-10 Moritz Schulte <mo@g10code.com> (diff)
downloadgnupg2-dba40e5e45e80896dc8864c2ae97f026069e2906.tar.xz
gnupg2-dba40e5e45e80896dc8864c2ae97f026069e2906.zip
Mainly changes to adjust for the changed KSBA API.
Diffstat (limited to 'g10')
-rw-r--r--g10/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/misc.c b/g10/misc.c
index e122f0c5c..7012a8a25 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -246,7 +246,9 @@ openpgp_pk_test_algo( int algo, unsigned int usage_flags )
if (algo == GCRY_PK_ELG_E)
algo = GCRY_PK_ELG;
+#ifdef __GNUC__
#warning need to handle the usage here?
+#endif
if (algo < 0 || algo > 110)
return GPG_ERR_PUBKEY_ALGO;
return gcry_pk_algo_info (algo, GCRYCTL_TEST_ALGO, NULL, &value);