summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorbcook <>2016-07-17 21:23:50 +0000
committerbcook <>2016-07-17 21:23:50 +0000
commitedcd46ce5a08d7ef09cf6621e227db77d70caec8 (patch)
tree724f525f72e088f19cd1e84ce4a6d6b4c07366f3 /src/lib
parent97a62ccde09b3410ce1edd24aa9668085ff1f276 (diff)
downloadopenbsd-edcd46ce5a08d7ef09cf6621e227db77d70caec8.tar.gz
openbsd-edcd46ce5a08d7ef09cf6621e227db77d70caec8.tar.bz2
openbsd-edcd46ce5a08d7ef09cf6621e227db77d70caec8.zip
remove unused OPENSSL_NO_OBJECT case
ok tedu@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/objects/obj_dat.c15
-rw-r--r--src/lib/libssl/src/crypto/objects/obj_dat.c15
2 files changed, 2 insertions, 28 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c
index 627f3230a7..1ae38bc4e8 100644
--- a/src/lib/libcrypto/objects/obj_dat.c
+++ b/src/lib/libcrypto/objects/obj_dat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: obj_dat.c,v 1.35 2015/10/14 21:54:10 tedu Exp $ */ 1/* $OpenBSD: obj_dat.c,v 1.36 2016/07/17 21:23:50 bcook 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 *
@@ -70,20 +70,7 @@
70#include <openssl/objects.h> 70#include <openssl/objects.h>
71 71
72/* obj_dat.h is generated from objects.h by obj_dat.pl */ 72/* obj_dat.h is generated from objects.h by obj_dat.pl */
73#ifndef OPENSSL_NO_OBJECT
74#include "obj_dat.h" 73#include "obj_dat.h"
75#else
76/* You will have to load all the objects needed manually in the application */
77#define NUM_NID 0
78#define NUM_SN 0
79#define NUM_LN 0
80#define NUM_OBJ 0
81static const unsigned char lvalues[1];
82static const ASN1_OBJECT nid_objs[1];
83static const unsigned int sn_objs[1];
84static const unsigned int ln_objs[1];
85static const unsigned int obj_objs[1];
86#endif
87 74
88DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn); 75DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
89DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln); 76DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
diff --git a/src/lib/libssl/src/crypto/objects/obj_dat.c b/src/lib/libssl/src/crypto/objects/obj_dat.c
index 627f3230a7..1ae38bc4e8 100644
--- a/src/lib/libssl/src/crypto/objects/obj_dat.c
+++ b/src/lib/libssl/src/crypto/objects/obj_dat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: obj_dat.c,v 1.35 2015/10/14 21:54:10 tedu Exp $ */ 1/* $OpenBSD: obj_dat.c,v 1.36 2016/07/17 21:23:50 bcook 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 *
@@ -70,20 +70,7 @@
70#include <openssl/objects.h> 70#include <openssl/objects.h>
71 71
72/* obj_dat.h is generated from objects.h by obj_dat.pl */ 72/* obj_dat.h is generated from objects.h by obj_dat.pl */
73#ifndef OPENSSL_NO_OBJECT
74#include "obj_dat.h" 73#include "obj_dat.h"
75#else
76/* You will have to load all the objects needed manually in the application */
77#define NUM_NID 0
78#define NUM_SN 0
79#define NUM_LN 0
80#define NUM_OBJ 0
81static const unsigned char lvalues[1];
82static const ASN1_OBJECT nid_objs[1];
83static const unsigned int sn_objs[1];
84static const unsigned int ln_objs[1];
85static const unsigned int obj_objs[1];
86#endif
87 74
88DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn); 75DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
89DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln); 76DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);