summaryrefslogtreecommitdiffstats
path: root/crypto/pem/pem_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pem/pem_local.h')
-rw-r--r--crypto/pem/pem_local.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/crypto/pem/pem_local.h b/crypto/pem/pem_local.h
index 39dc462e54..f9575d4988 100644
--- a/crypto/pem/pem_local.h
+++ b/crypto/pem/pem_local.h
@@ -28,11 +28,9 @@
* decoding operation can return an object that contains what libcrypto
* expects.
*/
-# define PEM_SELECTION_PUBKEY \
- (OSSL_KEYMGMT_SELECT_ALL_PARAMETERS | OSSL_KEYMGMT_SELECT_PUBLIC_KEY)
-# define PEM_SELECTION_PrivateKey \
- (OSSL_KEYMGMT_SELECT_ALL_PARAMETERS | OSSL_KEYMGMT_SELECT_KEYPAIR)
-# define PEM_SELECTION_Parameters OSSL_KEYMGMT_SELECT_ALL_PARAMETERS
+# define PEM_SELECTION_PUBKEY EVP_PKEY_PUBLIC_KEY
+# define PEM_SELECTION_PrivateKey EVP_PKEY_KEYPAIR
+# define PEM_SELECTION_Parameters EVP_PKEY_KEY_PARAMETERS
/* Alternative IMPLEMENT macros for provided encoders */