diff options
author | tb <> | 2022-01-14 07:49:49 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 07:49:49 +0000 |
commit | 8c60ea70a3180083dd57070d774a38f43ce0ea08 (patch) | |
tree | 86eaa4f6c31663bf615ddba9616c66030e99b5c9 /src/lib/libcrypto/objects/objects.h | |
parent | 55b6b15a4f08444e468a207fc894ef005c2fb5fa (diff) | |
download | openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.gz openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.tar.bz2 openbsd-8c60ea70a3180083dd57070d774a38f43ce0ea08.zip |
Unifdef LIBRESSL_OPAQUE_* and LIBRESSL_NEXT_API
This marks the start of major surgery in libcrypto. Do not attempt to
build the tree for a while (~50 commits).
Diffstat (limited to 'src/lib/libcrypto/objects/objects.h')
-rw-r--r-- | src/lib/libcrypto/objects/objects.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h index 2aaaefd96b..3ed792bb34 100644 --- a/src/lib/libcrypto/objects/objects.h +++ b/src/lib/libcrypto/objects/objects.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: objects.h,v 1.14 2022/01/08 21:36:39 tb Exp $ */ | 1 | /* $OpenBSD: objects.h,v 1.15 2022/01/14 07:49:49 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 | * |
@@ -1105,10 +1105,8 @@ int OBJ_create(const char *oid, const char *sn, const char *ln); | |||
1105 | void OBJ_cleanup(void); | 1105 | void OBJ_cleanup(void); |
1106 | int OBJ_create_objects(BIO *in); | 1106 | int OBJ_create_objects(BIO *in); |
1107 | 1107 | ||
1108 | #if defined(LIBRESSL_CRYPTO_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
1109 | size_t OBJ_length(const ASN1_OBJECT *obj); | 1108 | size_t OBJ_length(const ASN1_OBJECT *obj); |
1110 | const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj); | 1109 | const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj); |
1111 | #endif | ||
1112 | 1110 | ||
1113 | int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid); | 1111 | int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid); |
1114 | int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid); | 1112 | int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid); |