aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/tb_pkmeth.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-06-01 12:43:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-06-01 12:43:39 +0000
commite0c1ea9038f6a9e33dff3c7654b2a1b97e3d0e2c (patch)
treee32d0ae5ab5b122a3ef0b527e41215d1efe731c1 /crypto/engine/tb_pkmeth.c
parent6f88c6a634868a97d9613d6ec3663bf83a05d379 (diff)
downloadopenssl-e0c1ea9038f6a9e33dff3c7654b2a1b97e3d0e2c.tar.gz
Fix error code. make update
Diffstat (limited to 'crypto/engine/tb_pkmeth.c')
-rw-r--r--crypto/engine/tb_pkmeth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/engine/tb_pkmeth.c b/crypto/engine/tb_pkmeth.c
index dfc7d0fab1..b99dea2190 100644
--- a/crypto/engine/tb_pkmeth.c
+++ b/crypto/engine/tb_pkmeth.c
@@ -122,8 +122,8 @@ const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid)
ENGINE_PKEY_METHS_PTR fn = ENGINE_get_pkey_meths(e);
if(!fn || !fn(e, &ret, NULL, nid))
{
- ENGINEerr(ENGINE_F_ENGINE_GET_CIPHER,
- ENGINE_R_UNIMPLEMENTED_CIPHER);
+ ENGINEerr(ENGINE_F_ENGINE_GET_PKEY_METH,
+ ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD);
return NULL;
}
return ret;