summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2019-04-21 16:38:02 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2019-04-21 16:38:02 +0000
commit73c811ca5b79389b7e48cbb4232c77e1b4d5bdb0 (patch)
tree2b63b246bc0c4c9010991e122c106d42e510356c /lib/libcrypto
parent884ff2fad00e287ffbfc48d4ee190dfda3389ff4 (diff)
The noop v2i_PKEY_USAGE_PERIOD() has been commented out since beck
imported OpenSSL 0.9.4 in 1999. It won't ever be used.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/x509v3/v3_pku.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/libcrypto/x509v3/v3_pku.c b/lib/libcrypto/x509v3/v3_pku.c
index 507b0cbd942..ce6b8a0c1eb 100644
--- a/lib/libcrypto/x509v3/v3_pku.c
+++ b/lib/libcrypto/x509v3/v3_pku.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: v3_pku.c,v 1.13 2016/12/30 15:54:49 jsing Exp $ */
+/* $OpenBSD: v3_pku.c,v 1.14 2019/04/21 16:38:01 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
@@ -64,9 +64,7 @@
static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method,
PKEY_USAGE_PERIOD *usage, BIO *out, int indent);
-/*
-static PKEY_USAGE_PERIOD *v2i_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values);
-*/
+
const X509V3_EXT_METHOD v3_pkey_usage_period = {
.ext_nid = NID_private_key_usage_period,
.ext_flags = 0,
@@ -154,13 +152,3 @@ i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, PKEY_USAGE_PERIOD *usage,
}
return 1;
}
-
-/*
-static PKEY_USAGE_PERIOD *v2i_PKEY_USAGE_PERIOD(method, ctx, values)
-X509V3_EXT_METHOD *method;
-X509V3_CTX *ctx;
-STACK_OF(CONF_VALUE) *values;
-{
-return NULL;
-}
-*/