aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-01-25 19:28:25 +0000
committerWerner Koch <[email protected]>2011-01-25 19:28:25 +0000
commitd879c287ac1da7990c97b911018d63410c60433c (patch)
tree7a213af1c1f9f801b06a46350fe9473a6893a49d /g10/misc.c
parentMore ECDH code cleanups (diff)
downloadgnupg-d879c287ac1da7990c97b911018d63410c60433c.tar.gz
gnupg-d879c287ac1da7990c97b911018d63410c60433c.zip
Started with some code cleanups in ECDH.
The goal is to have the ECDH code more uniform with the other algorithms. Also make error messages and variable names more similar to other places.
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/misc.c b/g10/misc.c
index bdd797c16..fd00ec6d1 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -1423,7 +1423,7 @@ pubkey_nbits( int algo, gcry_mpi_t *key )
int rc, nbits;
gcry_sexp_t sexp;
-#warning Why this assert
+#warning FIXME: We are mixing OpenPGP And CGrypt Ids
assert( algo != GCRY_PK_ECDSA && algo != GCRY_PK_ECDH );
if( algo == GCRY_PK_DSA ) {