mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
fix doc typos
This commit is contained in:
parent
85171f83b8
commit
6f413ef406
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user