summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_locl.h
diff options
context:
space:
mode:
authortb <>2022-07-04 12:23:30 +0000
committertb <>2022-07-04 12:23:30 +0000
commit001d570e10bf848d5ae9372289014edc9f96a25c (patch)
tree65cb8fb0a7d0b85629c73dff7c030b06f1cba708 /src/lib/libcrypto/rsa/rsa_locl.h
parent00e824726e67ac60f4500af3e2eb04bc6165190b (diff)
downloadopenbsd-001d570e10bf848d5ae9372289014edc9f96a25c.tar.gz
openbsd-001d570e10bf848d5ae9372289014edc9f96a25c.tar.bz2
openbsd-001d570e10bf848d5ae9372289014edc9f96a25c.zip
Sync with changes in dsa_meth.c
pointed out by jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_locl.h')
-rw-r--r--src/lib/libcrypto/rsa/rsa_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_locl.h b/src/lib/libcrypto/rsa/rsa_locl.h
index 9eae2b3a24..1a2412ad80 100644
--- a/src/lib/libcrypto/rsa/rsa_locl.h
+++ b/src/lib/libcrypto/rsa/rsa_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_locl.h,v 1.12 2022/01/14 08:34:39 tb Exp $ */ 1/* $OpenBSD: rsa_locl.h,v 1.13 2022/07/04 12:23:30 tb Exp $ */
2 2
3__BEGIN_HIDDEN_DECLS 3__BEGIN_HIDDEN_DECLS
4 4
@@ -9,7 +9,7 @@ __BEGIN_HIDDEN_DECLS
9#define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS) 9#define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS)
10 10
11struct rsa_meth_st { 11struct rsa_meth_st {
12 const char *name; 12 char *name;
13 int (*rsa_pub_enc)(int flen, const unsigned char *from, 13 int (*rsa_pub_enc)(int flen, const unsigned char *from,
14 unsigned char *to, RSA *rsa, int padding); 14 unsigned char *to, RSA *rsa, int padding);
15 int (*rsa_pub_dec)(int flen, const unsigned char *from, 15 int (*rsa_pub_dec)(int flen, const unsigned char *from,