diff options
author | Ben Laurie <ben@openssl.org> | 2009-02-15 14:08:51 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2009-02-15 14:08:51 +0000 |
commit | b3f3407850d5e4b2a91aa7c7db39302bb9e80405 (patch) | |
tree | bdb0ae7b0fdbbf90bb66eec925ed337a115ca840 /crypto/evp/pmeth_lib.c | |
parent | 477fd4596feb89fe943130c8b1a4e37a0d3764bb (diff) |
Use new common flags and fix resulting warnings.
Diffstat (limited to 'crypto/evp/pmeth_lib.c')
-rw-r--r-- | crypto/evp/pmeth_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index c7491785ed..928770df63 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -492,11 +492,11 @@ void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth, void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth, int (*encrypt_init)(EVP_PKEY_CTX *ctx), - int (*encrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, + int (*encryptfn)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen)) { pmeth->encrypt_init = encrypt_init; - pmeth->encrypt = encrypt; + pmeth->encrypt = encryptfn; } void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth, |