diff options
author | Matt Caswell <matt@openssl.org> | 2017-02-28 15:55:35 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-02-28 17:02:11 +0100 |
commit | 7f517c2676103db8123aaad5c722125d936f807c (patch) | |
tree | d326cecefbe6b0d38ef5784ecc241b786e8870ee /crypto/x509v3 | |
parent | Remove some commented out code in the apps (diff) | |
download | openssl-7f517c2676103db8123aaad5c722125d936f807c.tar.xz openssl-7f517c2676103db8123aaad5c722125d936f807c.zip |
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')
-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; -} -*/ |