Fix documentation for RSA_set_method(3)
PR#1675 Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 197400c3f0d617d71ad8167b52fb73046d334320)
This commit is contained in:
parent
9aeb410419
commit
3221da845f
@ -125,14 +125,18 @@ the default method is used.
|
|||||||
/* sign. For backward compatibility, this is used only
|
/* sign. For backward compatibility, this is used only
|
||||||
* if (flags & RSA_FLAG_SIGN_VER)
|
* if (flags & RSA_FLAG_SIGN_VER)
|
||||||
*/
|
*/
|
||||||
int (*rsa_sign)(int type, unsigned char *m, unsigned int m_len,
|
int (*rsa_sign)(int type,
|
||||||
unsigned char *sigret, unsigned int *siglen, RSA *rsa);
|
const unsigned char *m, unsigned int m_length,
|
||||||
|
unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
|
||||||
/* verify. For backward compatibility, this is used only
|
/* verify. For backward compatibility, this is used only
|
||||||
* if (flags & RSA_FLAG_SIGN_VER)
|
* if (flags & RSA_FLAG_SIGN_VER)
|
||||||
*/
|
*/
|
||||||
int (*rsa_verify)(int type, unsigned char *m, unsigned int m_len,
|
int (*rsa_verify)(int dtype,
|
||||||
unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
|
const unsigned char *m, unsigned int m_length,
|
||||||
|
const unsigned char *sigbuf, unsigned int siglen,
|
||||||
|
const RSA *rsa);
|
||||||
|
/* keygen. If NULL builtin RSA key generation will be used */
|
||||||
|
int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
|
||||||
|
|
||||||
} RSA_METHOD;
|
} RSA_METHOD;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user