summaryrefslogtreecommitdiff
path: root/cipher/sha1.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-04-16 15:09:30 +0000
committerWerner Koch <wk@gnupg.org>2007-04-16 15:09:30 +0000
commit591697fc7621e8aa16abb3f60dc297ea9af1048f (patch)
tree76fb0761768c69d50818ff9f88f6aeeb8fb83b33 /cipher/sha1.c
parentef72b801762550f0ec1dd483e36ab95fe8f6629e (diff)
downloadlibgcrypt-591697fc7621e8aa16abb3f60dc297ea9af1048f.tar.gz
./
* configure.ac: Check for sysconf. * acinclude.m4 (GNUPG_CHECK_MLOCK): Try to use sysconf to get the page size and use getpagesize only then if available. cipher/ * ecc.c (_gcry_ecc_generate): Renamed DUMMY to CURVE and use it. src/ * secmem.c (init_pool): Use sysconf() if available to determine page size.
Diffstat (limited to 'cipher/sha1.c')
-rw-r--r--cipher/sha1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/sha1.c b/cipher/sha1.c
index c393a570..9c81f680 100644
--- a/cipher/sha1.c
+++ b/cipher/sha1.c
@@ -358,6 +358,8 @@ static gcry_md_oid_spec_t oid_spec_sha1[] =
{ "1.3.14.3.2.26" },
/* from NIST OIW (sha-1WithRSAEncryption) */
{ "1.3.14.3.2.29" },
+ /* iso.member-body.us.ansi-x9-62.signatures.ecdsa-with-sha1 */
+ { "1.2.840.10045.4.1" },
{ NULL },
};