summaryrefslogtreecommitdiff
path: root/Cryptlib/InternalCryptLib.h
diff options
context:
space:
mode:
authorMatthew Garrett <matthew.garrett@nebula.com>2013-10-03 13:19:32 -0400
committerPeter Jones <pjones@redhat.com>2013-10-04 11:51:09 -0400
commit9107ff9046dc09e8afdb89e86ce588edb3f4a642 (patch)
tree23dbc103ff77c4b098c05dd5125a9ddc2c327350 /Cryptlib/InternalCryptLib.h
parent16c55f99e872fe52a22336ccb4f09f35d33b2ffa (diff)
downloadefi-boot-shim-9107ff9046dc09e8afdb89e86ce588edb3f4a642.tar.gz
efi-boot-shim-9107ff9046dc09e8afdb89e86ce588edb3f4a642.zip
Update to current Tiano Cryptlib
Diffstat (limited to 'Cryptlib/InternalCryptLib.h')
-rw-r--r--Cryptlib/InternalCryptLib.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/Cryptlib/InternalCryptLib.h b/Cryptlib/InternalCryptLib.h
index b0476269..35a8eb1c 100644
--- a/Cryptlib/InternalCryptLib.h
+++ b/Cryptlib/InternalCryptLib.h
@@ -21,6 +21,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/DebugLib.h>
#include <Library/BaseCryptLib.h>
+#include "OpenSslSupport.h"
+
//
// Environment Setting for OpenSSL-based UEFI Crypto Library.
//
@@ -28,25 +30,5 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define OPENSSL_SYSNAME_UWIN
#endif
-/**
- Pop single certificate from STACK_OF(X509).
-
- If X509Stack, Cert, or CertSize is NULL, then return FALSE.
-
- @param[in] X509Stack Pointer to a X509 stack object.
- @param[out] Cert Pointer to a X509 certificate.
- @param[out] CertSize Length of output X509 certificate in bytes.
-
- @retval TRUE The X509 stack pop succeeded.
- @retval FALSE The pop operation failed.
-
-**/
-BOOLEAN
-X509PopCertificate (
- IN VOID *X509Stack,
- OUT UINT8 **Cert,
- OUT UINTN *CertSize
- );
-
#endif