diff options
| author | djm <> | 2012-10-13 21:23:50 +0000 |
|---|---|---|
| committer | djm <> | 2012-10-13 21:23:50 +0000 |
| commit | d56dbc3c72494d4b68c03f5bcc3ae1f9df7b17df (patch) | |
| tree | 10ebe51c3542099b0ab8325d8f322372375dc3b4 /src/lib/libcrypto/ec/ec_pmeth.c | |
| parent | bc685bd401e5657f7fb51b4e1a62a7a5c5ea4098 (diff) | |
| parent | 228cae30b117c2493f69ad3c195341cd6ec8d430 (diff) | |
| download | openbsd-d56dbc3c72494d4b68c03f5bcc3ae1f9df7b17df.tar.gz openbsd-d56dbc3c72494d4b68c03f5bcc3ae1f9df7b17df.tar.bz2 openbsd-d56dbc3c72494d4b68c03f5bcc3ae1f9df7b17df.zip | |
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
Diffstat (limited to 'src/lib/libcrypto/ec/ec_pmeth.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_pmeth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ec/ec_pmeth.c b/src/lib/libcrypto/ec/ec_pmeth.c index f433076ca1..d1ed66c37e 100644 --- a/src/lib/libcrypto/ec/ec_pmeth.c +++ b/src/lib/libcrypto/ec/ec_pmeth.c | |||
| @@ -221,6 +221,7 @@ static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) | |||
| 221 | 221 | ||
| 222 | case EVP_PKEY_CTRL_MD: | 222 | case EVP_PKEY_CTRL_MD: |
| 223 | if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 && | 223 | if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 && |
| 224 | EVP_MD_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 && | ||
| 224 | EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && | 225 | EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && |
| 225 | EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && | 226 | EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && |
| 226 | EVP_MD_type((const EVP_MD *)p2) != NID_sha384 && | 227 | EVP_MD_type((const EVP_MD *)p2) != NID_sha384 && |
