summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2016-07-17 21:23:50 +0000
committerbcook <bcook@openbsd.org>2016-07-17 21:23:50 +0000
commit2c6b01a2cb5f1c8372070309d01af267174b7165 (patch)
treebbed281e47529cdbcdd2f0cb980029b8d9af6656 /lib/libcrypto/objects/obj_dat.c
parentInitialize buffers before use, noted by Kinichiro Inoguchi. (diff)
downloadwireguard-openbsd-2c6b01a2cb5f1c8372070309d01af267174b7165.tar.xz
wireguard-openbsd-2c6b01a2cb5f1c8372070309d01af267174b7165.zip
remove unused OPENSSL_NO_OBJECT case
ok tedu@
Diffstat (limited to 'lib/libcrypto/objects/obj_dat.c')
-rw-r--r--lib/libcrypto/objects/obj_dat.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c
index 627f3230a7c..1ae38bc4e8e 100644
--- a/lib/libcrypto/objects/obj_dat.c
+++ b/lib/libcrypto/objects/obj_dat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: obj_dat.c,v 1.35 2015/10/14 21:54:10 tedu Exp $ */
+/* $OpenBSD: obj_dat.c,v 1.36 2016/07/17 21:23:50 bcook Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -70,20 +70,7 @@
#include <openssl/objects.h>
/* obj_dat.h is generated from objects.h by obj_dat.pl */
-#ifndef OPENSSL_NO_OBJECT
#include "obj_dat.h"
-#else
-/* You will have to load all the objects needed manually in the application */
-#define NUM_NID 0
-#define NUM_SN 0
-#define NUM_LN 0
-#define NUM_OBJ 0
-static const unsigned char lvalues[1];
-static const ASN1_OBJECT nid_objs[1];
-static const unsigned int sn_objs[1];
-static const unsigned int ln_objs[1];
-static const unsigned int obj_objs[1];
-#endif
DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);