summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-05-05 12:30:40 +0000
committertb <>2023-05-05 12:30:40 +0000
commit96260b31a3d7b495999884d423bf277e8deaf917 (patch)
tree98dfbf8e44ac603cc777c72026503010e8ca7578 /src
parent37431414f8c8dcf57641bddce2901d359d6a1834 (diff)
downloadopenbsd-96260b31a3d7b495999884d423bf277e8deaf917.tar.gz
openbsd-96260b31a3d7b495999884d423bf277e8deaf917.tar.bz2
openbsd-96260b31a3d7b495999884d423bf277e8deaf917.zip
Salt shares the blame of the continued existence of the X9.31 padding mode
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/rsa/rsa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index b2a9a85ea8..ff88240f04 100644
--- a/src/lib/libcrypto/rsa/rsa.h
+++ b/src/lib/libcrypto/rsa/rsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa.h,v 1.63 2023/04/25 16:50:33 tb Exp $ */ 1/* $OpenBSD: rsa.h,v 1.64 2023/05/05 12:30:40 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -225,7 +225,7 @@ typedef struct rsa_oaep_params_st {
225#define RSA_SSLV23_PADDING 2 225#define RSA_SSLV23_PADDING 2
226#define RSA_NO_PADDING 3 226#define RSA_NO_PADDING 3
227#define RSA_PKCS1_OAEP_PADDING 4 227#define RSA_PKCS1_OAEP_PADDING 4
228/* Leave this for now as rust-openssl and erlang expose it. */ 228/* rust-openssl and erlang expose this and salt even uses it. */
229#define RSA_X931_PADDING 5 229#define RSA_X931_PADDING 5
230/* EVP_PKEY_ only */ 230/* EVP_PKEY_ only */
231#define RSA_PKCS1_PSS_PADDING 6 231#define RSA_PKCS1_PSS_PADDING 6