summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pem/pem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/pem/pem.h')
-rw-r--r--src/lib/libcrypto/pem/pem.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/pem/pem.h b/src/lib/libcrypto/pem/pem.h
index b447dc4ac2..0ea04bece7 100644
--- a/src/lib/libcrypto/pem/pem.h
+++ b/src/lib/libcrypto/pem/pem.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: pem.h,v 1.21 2021/12/24 12:59:17 tb Exp $ */ 1/* $OpenBSD: pem.h,v 1.22 2022/01/14 07:49:49 tb Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -482,11 +482,9 @@ DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
482 482
483DECLARE_PEM_rw(PUBKEY, EVP_PKEY) 483DECLARE_PEM_rw(PUBKEY, EVP_PKEY)
484 484
485#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_CRYPTO_INTERNAL)
486int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x, 485int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x,
487 const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, 486 const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb,
488 void *u); 487 void *u);
489#endif
490int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, 488int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid,
491 char *kstr, int klen, 489 char *kstr, int klen,
492 pem_password_cb *cb, void *u); 490 pem_password_cb *cb, void *u);