summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/crypto.h')
-rw-r--r--src/lib/libcrypto/crypto.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h
index 5cb1dda021..27b7f3fe02 100644
--- a/src/lib/libcrypto/crypto.h
+++ b/src/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.32 2014/07/10 22:45:56 jsing Exp $ */ 1/* $OpenBSD: crypto.h,v 1.33 2015/02/07 13:19:15 doug Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -142,20 +142,6 @@ extern "C" {
142#define SSLEAY_PLATFORM 4 142#define SSLEAY_PLATFORM 4
143#define SSLEAY_DIR 5 143#define SSLEAY_DIR 5
144 144
145/* Already declared in ossl_typ.h */
146#if 0
147typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
148/* Called when a new object is created */
149typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
150 int idx, long argl, void *argp);
151/* Called when an object is free()ed */
152typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
153 int idx, long argl, void *argp);
154/* Called when we need to dup an object */
155typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from,
156 void *from_d, int idx, long argl, void *argp);
157#endif
158
159/* A generic structure to pass assorted data in a expandable way */ 145/* A generic structure to pass assorted data in a expandable way */
160typedef struct openssl_item_st { 146typedef struct openssl_item_st {
161 int code; 147 int code;