diff options
author | Matt Caswell <matt@openssl.org> | 2017-02-28 14:55:35 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-02-28 16:02:11 +0000 |
commit | 7f517c2676103db8123aaad5c722125d936f807c (patch) | |
tree | d326cecefbe6b0d38ef5784ecc241b786e8870ee /crypto/x509v3/v3_pku.c | |
parent | 9fa36f5f4b32557c20b2c2665d50b239dcc49b91 (diff) |
Remove some commented out code in libcrypto
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2774)
Diffstat (limited to 'crypto/x509v3/v3_pku.c')
-rw-r--r-- | crypto/x509v3/v3_pku.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/crypto/x509v3/v3_pku.c b/crypto/x509v3/v3_pku.c index ed82bca8ba..5a7e7d9725 100644 --- a/crypto/x509v3/v3_pku.c +++ b/crypto/x509v3/v3_pku.c @@ -17,10 +17,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 = { NID_private_key_usage_period, 0, ASN1_ITEM_ref(PKEY_USAGE_PERIOD), 0, 0, 0, 0, @@ -53,13 +50,3 @@ static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, } 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; -} -*/ |