diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-12-02 13:45:25 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-12-02 13:45:25 +0000 |
commit | 61c10d42f6204016480ceffa0226b891b3fdfbba (patch) | |
tree | 83d1716d1a8a6f8b172bc6722857df7165f50fdd /doc | |
parent | 68ecfb69a588aeb077b7212e89f148bf3b1a56bc (diff) |
fix doc typos
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/EVP_PKEY_verify.pod | 2 | ||||
-rw-r--r-- | doc/crypto/EVP_PKEY_verifyrecover.pod | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/crypto/EVP_PKEY_verify.pod b/doc/crypto/EVP_PKEY_verify.pod index 10633da3f2..f93e5fc6c3 100644 --- a/doc/crypto/EVP_PKEY_verify.pod +++ b/doc/crypto/EVP_PKEY_verify.pod @@ -69,7 +69,7 @@ Verify signature using PKCS#1 and SHA256 digest: /* Error */ /* Perform operation */ - ret = EVP_PKEY_verify(ctx, md, mdlen, sig, siglen); + ret = EVP_PKEY_verify(ctx, sig, siglen, md, mdlen); /* ret == 1 indicates success, 0 verify failure and < 0 for some * other error. diff --git a/doc/crypto/EVP_PKEY_verifyrecover.pod b/doc/crypto/EVP_PKEY_verifyrecover.pod index e2a2a8c6f8..f3605eb826 100644 --- a/doc/crypto/EVP_PKEY_verifyrecover.pod +++ b/doc/crypto/EVP_PKEY_verifyrecover.pod @@ -74,7 +74,7 @@ Recover digest originally signed using PKCS#1 and SHA256 digest: /* Error */ /* Determine buffer length */ - if (EVP_PKEY_verifyrecover(ctx, rout, &routlen, sig, siglen) <= 0) + if (EVP_PKEY_verifyrecover(ctx, NULL, &routlen, sig, siglen) <= 0) /* Error */ rout = OPENSSL_malloc(routlen); |