Changeset View
Changeset View
Standalone View
Standalone View
b/agent/pksign.c
Context not available. | |||||
mdlen*8, | mdlen*8, | ||||
gcry_pk_get_nbits (pkey), | gcry_pk_get_nbits (pkey), | ||||
gcry_pk_algo_name (pkalgo)); | gcry_pk_algo_name (pkalgo)); | ||||
/* FIXME: we need to check the requirements for ECDSA. */ | return gpg_error (GPG_ERR_INV_LENGTH); | ||||
if (mdlen < 20 || pkalgo == GCRY_PK_DSA) | |||||
return gpg_error (GPG_ERR_INV_LENGTH); | |||||
} | } | ||||
/* Truncate. */ | /* Truncate. */ | ||||
Context not available. |