Skip to content

Commit e95443d

Browse files
committed
Mirror OpenSSL RSA defines in pk.c
1 parent 854fc95 commit e95443d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/pk.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949

5050
#ifndef NO_RSA
5151
#include <wolfssl/wolfcrypt/rsa.h>
52+
/* Same values as in wolfssl/openssl/rsa.h */
53+
#define RSA_PSS_SALTLEN_DIGEST (-1)
54+
#define RSA_PSS_SALTLEN_MAX_SIGN (-2)
55+
#define RSA_PSS_SALTLEN_AUTO (-2)
56+
#define RSA_PSS_SALTLEN_MAX (-3)
5257
#endif
5358

5459
/*******************************************************************************

0 commit comments

Comments
 (0)